Anonymous | Login | 2021-01-21 07:08 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
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 | |||||||
Reporter | yaneurabeya | View Status | public | |||||||||
Assigned To | ajosey | |||||||||||
Priority | normal | Resolution | Open | |||||||||
Status | Under Review | |||||||||||
Name | Garrett Cooper | |||||||||||
Organization | Cisco Systems, Inc. | |||||||||||
User Reference | ||||||||||||
Section | sysconf | |||||||||||
Page Number | ||||||||||||
Line Number | ||||||||||||
Interp Status | --- | |||||||||||
Final Accepted Text | ||||||||||||
Summary | 0000339: Add _SC_NPROCESSORS_CONF / _SC_NPROCESSORS_ONLN to sysconf(3) / unistd.h | |||||||||||
Description |
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 [1]: "Implemented by AIX/Tru64/Solaris/Linux/FreeBSD/NetBSD." [1] www.mail-archive.com/tech@openbsd.org/msg01435.html">http://www.mail-archive.com/tech@openbsd.org/msg01435.html [www.mail-archive.com/tech@openbsd.org/msg01435.html" target="_blank">^] |
|||||||||||
Desired Action |
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. | |||||||||||
Attached Files | ||||||||||||
|
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |