View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000502 | 1003.1(2008)/Issue 7 | Base Definitions and Headers | public | 2011-10-19 00:05 | 2024-06-11 08:53 |
| Reporter | weeks | Assigned To | ajosey | ||
| Priority | normal | Severity | Editorial | Type | Error |
| Status | Closed | Resolution | Accepted As Marked | ||
| Name | Nathan Weeks | ||||
| Organization | Iowa State University HPC Group | ||||
| User Reference | |||||
| Section | 4.16 Semaphore | ||||
| Page Number | 113 | ||||
| Line Number | 3094-3095 | ||||
| Interp Status | Approved | ||||
| Final Accepted Text | See 0000502:0000996 | ||||
| Summary | 0000502: XSI semaphore maximum value | ||||
| Description | Section 4.16 states: For the semaphores associated with the X/Open System Interfaces (XSI) option, a semaphore is a positive integer (0 through 32767). However, at least the HP-UX 11i semvmx and Solaris 10 semsys:seminfo_semvmx tunable parameters can be set to allow semaphore values of up to 65535. | ||||
| Desired Action | Consider rewording the text to account for these different system-imposed limits. | ||||
| Tags | issue8 | ||||
|
|
There is no need for a change. Every implementation can differ. The standard only requires a minimum maximum. For compliance there only has to be one environment where the standard test suite is passed. |
|
|
Interpretation response ------------------------ The standard states that the maximum value for a semaphore is 32767, and conforming implementations must conform to this. However, concerns have been raised about this which are being referred to the sponsor. Rationale: ------------- 0 is not a positive integer, and some implementations supply a larger maximum value. Notes to the Editor (not part of this interpretation): ------------------------------------------------------- Implement changes in note 0000502:0000997. |
|
|
At line 3095, change: ... a semaphore is a positive integer (0 through 32767). to: ... a semaphore is an integer with minimum value 0 and an implementation-defined maximum value which shall be at least 32767. |
|
|
Interpretation proposed 29 June 2012 for final 45 day review |
|
|
Interpretation approved 30 Aug 2012 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-10-19 00:05 | weeks | New Issue | |
| 2011-10-19 00:05 | weeks | Status | New => Under Review |
| 2011-10-19 00:05 | weeks | Assigned To | => ajosey |
| 2011-10-19 00:05 | weeks | Name | => Nathan Weeks |
| 2011-10-19 00:05 | weeks | Organization | => Iowa State University HPC Group |
| 2011-10-19 00:05 | weeks | Section | => 4.16 Semaphore |
| 2011-10-19 00:05 | weeks | Page Number | => 0 |
| 2011-10-19 00:05 | weeks | Line Number | => 0 |
| 2011-10-19 00:17 | Don Cragun | Page Number | 0 => 113 |
| 2011-10-19 00:17 | Don Cragun | Line Number | 0 => 3094-3095 |
| 2011-10-19 00:17 | Don Cragun | Interp Status | => --- |
| 2011-10-19 00:42 | drepper | Note Added: 0000992 | |
| 2011-10-20 16:02 | jim_pugsley | Note Added: 0000996 | |
| 2011-10-20 16:04 | jim_pugsley | Note Added: 0000997 | |
| 2011-10-20 16:06 | jim_pugsley | Note Edited: 0000996 | |
| 2011-10-20 16:08 | jim_pugsley | Tag Attached: issue8 | |
| 2011-10-20 16:10 | jim_pugsley | Status | Under Review => Interpretation Required |
| 2011-10-20 16:10 | jim_pugsley | Resolution | Open => Accepted As Marked |
| 2011-10-20 16:12 | jim_pugsley | Interp Status | --- => Pending |
| 2011-10-20 16:12 | jim_pugsley | Final Accepted Text | => See 0000502:0000996 |
| 2012-06-29 16:17 | ajosey | Interp Status | Pending => Proposed |
| 2012-06-29 16:17 | ajosey | Note Added: 0001295 | |
| 2012-08-30 09:16 | ajosey | Interp Status | Proposed => Approved |
| 2012-08-30 09:16 | ajosey | Note Added: 0001358 | |
| 2020-03-05 15:09 | geoffclare | Status | Interpretation Required => Applied |
| 2024-06-11 08:53 | agadmin | Status | Applied => Closed |