(0005983)
alanc (reporter)
2022-09-28 19:04
|
According to our records, Solaris implemented these based on the spec in
"UNIX System V Release 4 ES/MP Multiprocessing Detailed Specifications --
Issue 2.", dated August 30, 1991.
Definitions of them also appear in the System V Interface Definition Fourth Edition. |
(0005985)
geoffclare (manager)
2022-09-29 15:20
|
After D2.1 page 436 line 15169 section <unistd.h>, add:_SC_NPROCESSORS_CONF
_SC_NPROCESSORS_ONLN
After D2.1 page 2058 line 66703 section sysconf(), add two rows to the table:The maximum number of execution units that | _SC_NPROCESSORS_CONF
can be made available to run threads† |
The maximum number of execution units | _SC_NPROCESSORS_ONLN
currently available to run threads† |
After D2.1 page 2060 line 66792 section sysconf(), add (after the table):† The nature of an execution unit and the precise conditions under which an execution unit is considered to be available, or can be made available, or how many threads it can execute in parallel, are implementation-defined.
On D2.1 page 2060 line 66800 section sysconf(), change:The value shall not change during the lifetime of the calling process, [XSI]except ... to:The value returned for name arguments other than _SC_NPROCESSORS_ONLN shall not change during the lifetime of the calling process, [XSI]except ...
On D2.1 page 2791 line 92825 section getconf, change:entries corresponding to _SC_CLK_TCK, _SC_GETGR_R_SIZE_MAX, and _SC_GETPW_R_SIZE_MAX to:entries corresponding to _SC_CLK_TCK, _SC_GETGR_R_SIZE_MAX, _SC_GETPW_R_SIZE_MAX, _SC_NPROCESSORS_CONF, and _SC_NPROCESSORS_ONLN
After page 2791 line 92838 section getconf, add a new bullet point:The names NPROCESSORS_CONF and NPROCESSORS_ONLN. The values of these configuration variables shall be determined as if they were obtained by calling the function sysconf() with the argument _SC_NPROCESSORS_CONF or _SC_NPROCESSORS_ONLN, respectively. |