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

  • From: "Adrien Destugues" <pulkomandy@xxxxxxxxx>
  • Date: Sun, 09 Mar 2014 09:38:59 -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 pulkomandy):

 I don't know about the first test case. For the second one, C++11 says
 uninitialized thread ids should compare equal. pthread_equal leaves this
 case 'undefined' in POSIX
 (http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_equal.html).

 So, this would be a bug in the gthread library used by gcc?

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

Other related posts: