HomeFreeBSD

Fix lib/libthr/tests/detach_test

Description

Fix lib/libthr/tests/detach_test

  • Eliminate race with liberal use of sleep(3) [1]
  • Fix NetBSD-specific implementation way of testing result from pthread_cancel by testing with td instead of NULL [2]

PR: 196738 [1]
PR: 191906 [2]

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
ngieAuthored on
Parents
rS277277: Until there's a full MCI implementation - just implement a placeholder
Branches
Unknown
Tags
Unknown

Event Timeline