Page MenuHomeFreeBSD

MFC r342952:
ClosedPublic

Authored by ngie on Mar 10 2019, 4:22 PM.
Tags
None
Referenced Files
F82870991: D19528.id54895.diff
Fri, May 3, 9:58 AM
F82870990: D19528.id54938.diff
Fri, May 3, 9:58 AM
F82868564: D19528.id.diff
Fri, May 3, 9:28 AM
F82858977: D19528.diff
Fri, May 3, 7:05 AM
Unknown Object (File)
Jan 13 2024, 11:22 AM
Unknown Object (File)
Dec 20 2023, 2:49 AM
Unknown Object (File)
Nov 29 2023, 6:51 AM
Unknown Object (File)
Jun 26 2023, 11:09 PM
Subscribers

Details

Reviewers
None
Commits
rS345016: MFC r342952:
Summary

Add Linux compatibility support for SC_NPROCESSORS_{CONF,ONLN} as _SC_NPROCESSORS_{CONF,ONLN}

The goal of this change is to make it easier to use getconf to query
the number of available processors.

Sadly it's unclear per POSIX, which form (with a preceding _ or
lacking it) is correct. I will bring this up on the Austin Group list so
this point is clarified for implementors that might rely on this getconf
variable in future POSIX spec versions.

This is something I noticed when trying to import GoogleTest to FreeBSD
as one of the CI scripts uses this variable on Linux.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 11 2019, 6:17 PM
Closed by commit rS345016: MFC r342952: (authored by ngie). · Explain Why
This revision was automatically updated to reflect the committed changes.