Page MenuHomeFreeBSD

MFC r342952:
ClosedPublic

Authored by ngie on Mar 10 2019, 4:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 8 2024, 10:00 AM
Unknown Object (File)
Sep 7 2024, 11:57 PM
Unknown Object (File)
Sep 5 2024, 12:02 PM
Unknown Object (File)
Sep 2 2024, 11:14 PM
Unknown Object (File)
Aug 19 2024, 7:38 AM
Unknown Object (File)
Aug 16 2024, 10:48 PM
Unknown Object (File)
Jul 2 2024, 9:53 PM
Unknown Object (File)
Jul 2 2024, 9:36 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.