This is an archive of the discontinued LLVM Phabricator instance.

[libc] Add pthread_detach and thrd_detach.
ClosedPublic

Authored by sivachandra on Jun 10 2022, 1:55 AM.

Details

Summary

Tests for pthread_detach and thrd_detach have not been added. Instead, a
test for the underlying implementation has been added as it makes use of
an internal wait method to synchronize with detached threads.

Diff Detail

Event Timeline

sivachandra created this revision.Jun 10 2022, 1:55 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 10 2022, 1:55 AM
sivachandra requested review of this revision.Jun 10 2022, 1:55 AM
This revision is now accepted and ready to land.Jun 10 2022, 10:14 AM

Remove debug messages.

lntue accepted this revision.Jun 10 2022, 12:49 PM
This revision was automatically updated to reflect the committed changes.