[haiku-bugs] [Haiku] #13323: pthread_barrierattr_setpshared() should check the new value

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Tue, 21 Feb 2017 07:58:48 -0000

#13323: pthread_barrierattr_setpshared() should check the new value
--------------------------+------------------------------
 Reporter:  korli         |        Owner:  nobody
     Type:  bug           |       Status:  new
 Priority:  normal        |    Milestone:  R1
Component:  System/POSIX  |      Version:  R1/Development
 Keywords:                |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+------------------------------
 Should return EINVAL for values different from PTHREAD_PROCESS_SHARED and
 PTHREAD_PROCESS_PRIVATE.

 http://cgit.haiku-
 os.org/haiku/tree/src/system/libroot/posix/pthread/pthread_barrier.cpp#n150
 
http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_barrierattr_setpshared.html

 It seems to be done correctly in pthread_mutexattr_setpshared().
 http://cgit.haiku-
 os.org/haiku/tree/src/system/libroot/posix/pthread/pthread_mutexattr.c#n94

--
Ticket URL: <https://dev.haiku-os.org/ticket/13323>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts:

  • » [haiku-bugs] [Haiku] #13323: pthread_barrierattr_setpshared() should check the new value - korli