[Bug nptl/22337] pthread_join incorrectly fails for a detached running thread

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Mon Oct 23 10:49:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=22337

--- Comment #4 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Andreas Schwab from comment #3)
> "The lifetime of a thread ID ends after the thread terminates if it was
> created with the detachstate attribute set to PTHREAD_CREATE_DETACHED or if
> pthread_detach() or pthread_join() has been called for that thread."

But that doesn't apply to the test case because the thread in question never
exits, so the lifetime of its thread ID never ends.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list