Open Bug 1256504 Opened 8 years ago Updated 2 years ago

The semantics of PR_GetNumberOfProcessors are not clear


(NSPR :: NSPR, defect)



(Not tracked)


(Reporter: bzbarsky, Unassigned)


See bug 1008453 comment 35: PR_GetNumberOfProcessors uses a deprecated API whose behavior is not really defined on Mac, and on Linux uses some stuff whose behavior may not really match that of the deprecated Mac API.

Would it make sense to add PR_GetMaxNumberOfLogicalProcessors which would aim for consistent semantics across operating systems here?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.