This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/22337] pthread_join incorrectly fails for a detached running thread
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 23 Oct 2017 10:49:36 +0000
- Subject: [Bug nptl/22337] pthread_join incorrectly fails for a detached running thread
- Auto-submitted: auto-generated
- References: <bug-22337-131@http.sourceware.org/bugzilla/>
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.