Austin Group Defect Tracker

Aardvark Mark IV


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

- Relationships

-  Notes
(0000591)
msbrown (manager)
2010-10-28 15:58

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.

- Issue History
Date Modified Username Field Change
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
Powered by Mantis Bugtracker