This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]