|Anonymous | Login||2020-09-22 10:34 UTC|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details|
|ID||Category||Severity||Type||Date Submitted||Last Update|
|0000339||[1003.1(2008)/Issue 7] System Interfaces||Comment||Enhancement Request||2010-10-24 20:47||2010-10-28 15:58|
|Organization||Cisco Systems, Inc.|
|Final Accepted Text|
|Summary||0000339: Add _SC_NPROCESSORS_CONF / _SC_NPROCESSORS_ONLN to sysconf(3) / unistd.h|
These constants help determine how many processors are configured and online (respectively). According to an individual that ported this functionality to OpenBSD almost a year ago, it was already ported and functional to several operating systems :
"Implemented by AIX/Tru64/Solaris/Linux/FreeBSD/NetBSD."
 firstname.lastname@example.org/msg01435.html">http://email@example.com/msg01435.html [firstname.lastname@example.org/msg01435.html" target="_blank">^]
Add these respective constants to unistd.h as optional features where something similar to the following is stated:
_SC_NPROCESSORS_CONF - The number of processors configured.
_SC_NPROCESSORS_ONLN - The number of processors online (capable of running processes).
The OpenBSD tort seems ok in this case, and both cases could refer to scenarios where inter-machine clustering is occurring, to the extent that stating the wording like "configured in the system." or "running processes) in the system." would be extremely limiting as more systems are utilizing cross-machine resources for `pseudo-cloud' applications; plus, this would also be more flexible when dealing with virtual machines, as the processor itself isn't physical, and thus `in the system' could be misconstrued.
|Tags||No tags attached.|
This issue is under consideration for the next version. We request that the reporter of this issue please add proposed, detailed text edits for the addition.
Reporter will be contacted via email as well by the Group Chair on the best way to do this.
|2010-10-24 20:47||yaneurabeya||New Issue|
|2010-10-24 20:47||yaneurabeya||Status||New => Under Review|
|2010-10-24 20:47||yaneurabeya||Assigned To||=> ajosey|
|2010-10-24 20:47||yaneurabeya||Name||=> Garrett Cooper|
|2010-10-24 20:47||yaneurabeya||Organization||=> Cisco Systems, Inc.|
|2010-10-24 20:47||yaneurabeya||Section||=> sysconf|
|2010-10-28 15:58||msbrown||Interp Status||=> ---|
|2010-10-28 15:58||msbrown||Note Added: 0000591|
|2015-04-23 23:17||emaste||Issue Monitored: emaste|
|Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group|