[haiku-bugs] [Haiku] #13325: declare _POSIX_SEM_NSEMS_MAX

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Tue, 21 Feb 2017 08:49:14 -0000

#13325: declare _POSIX_SEM_NSEMS_MAX
--------------------------+------------------------------
 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           |
--------------------------+------------------------------
 http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html

 According to http://cgit.haiku-
 os.org/haiku/tree/src/system/libroot/posix/unistd/conf.cpp#n92
 it should be MAX_POSIX_SEMS, but it seems to be a global limit, not per
 team/process (as seen [http://cgit.haiku-
 os.org/haiku/tree/src/system/kernel/posix/realtime_sem.cpp#n223 here])
 So MAX_POSIX_SEMS_PER_TEAM might be a better value.

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

Other related posts:

  • » [haiku-bugs] [Haiku] #13325: declare _POSIX_SEM_NSEMS_MAX - korli