Page MenuHomeFreeBSD

MFC r342952:
ClosedPublic

Authored by ngie on Mar 10 2019, 4:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 8, 12:03 AM
Unknown Object (File)
Wed, May 22, 7:17 AM
Unknown Object (File)
May 3 2024, 9:58 AM
Unknown Object (File)
May 3 2024, 9:58 AM
Unknown Object (File)
May 3 2024, 9:28 AM
Unknown Object (File)
May 3 2024, 7:05 AM
Unknown Object (File)
Jan 13 2024, 11:22 AM
Unknown Object (File)
Dec 20 2023, 2:49 AM
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 Passed
Unit
No Test Coverage
Build Status
Buildable 22986
Build 22064: arc lint + arc unit

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.