Page MenuHomeFreeBSD

Make libthr(3) use sysconf(_SC_NPROCESSORS_CONF)
ClosedPublic

Authored by trasz on Nov 19 2018, 2:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 24, 2:18 PM
Unknown Object (File)
Nov 9 2024, 12:26 AM
Unknown Object (File)
Nov 7 2024, 12:32 AM
Unknown Object (File)
Oct 23 2024, 1:51 AM
Unknown Object (File)
Oct 23 2024, 1:51 AM
Unknown Object (File)
Oct 23 2024, 1:51 AM
Unknown Object (File)
Oct 23 2024, 1:27 AM
Unknown Object (File)
Oct 3 2024, 12:57 AM
Subscribers

Details

Summary

Make libthr(3) use sysconf(_SC_NPROCESSORS_CONF); this shaves off
two calls to sysctl(2) from the binary startup.

Diff Detail

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