[haiku-bugs] Re: [Haiku] #7916: C++11 thread support is broken.

  • From: "hamish" <trac@xxxxxxxxxxxx>
  • Date: Sat, 08 Mar 2014 02:51:16 -0000

#7916: C++11 thread support is broken.
----------------------------+----------------------------
   Reporter:  diger         |      Owner:  korli
       Type:  enhancement   |     Status:  assigned
   Priority:  normal        |  Milestone:  R1
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by hamish):

 That test fails because our pthread_equal returns false if either
 pthread_t is NULL (both are NULL in this case). Other systems with pointer
 pthread_t types (FreeBSD, possibly others) don't bother with the NULL
 check.

 Not convinced the first test case is valid. If thread 2 runs first it pops
 from an empty list.

--
Ticket URL: <https://dev.haiku-os.org/ticket/7916#comment:4>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: