[haiku-bugs] Re: [Haiku] #8836: pthread_join on a detached pthread crashes

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Sun, 05 Aug 2012 10:11:43 -0000

#8836: pthread_join on a detached pthread crashes
----------------------------+----------------------------
   Reporter:  0x0dev        |      Owner:  nobody
       Type:  bug           |     Status:  new
   Priority:  normal        |  Milestone:  R1
  Component:  System/POSIX  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  1             |   Platform:  All
----------------------------+----------------------------

Comment (by axeld):

 Thanks! However, you are actually looking at a severely outdated page;
 issue 2 is 15 years old. The current one is issue 7, see:
 http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_join.html

 While it should not crash, at least it's not required to return EINVAL any
 more. We could do this, of course. Does your patch also fix the crash?

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8836#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: