Open Bug 1256504 Opened 8 years ago Updated 2 years ago

The semantics of PR_GetNumberOfProcessors are not clear

Categories

(NSPR :: NSPR, defect)

defect

Tracking

(Not tracked)

People

(Reporter: bzbarsky, Unassigned)

Details

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.