[Bug 1731] pthread_join() returns ESRCH if target thread already terminated

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Dec 23 21:48:21 UTC 2013


https://www.rtems.org/bugzilla/show_bug.cgi?id=1731

Daniel Ramirez <javamonn at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |javamonn at gmail.com

--- Comment #9 from Daniel Ramirez <javamonn at gmail.com> 2013-12-23 15:48:21 CST ---
As of 2013-12-23, RTEMS handles this correctly. When pthread_join() is called
on a thread that is joinable and has already terminated, the call succeeds and
returns immediately. This behavior is in compliance with the POSIX standard and
is in line with other OS's interpretations of the standard (FreeBSD, Linux, AIX
etc). See psxtests/psx16 for confirmation of this behavior. 

This PR should be closed, no additional patch is necessary.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list