aboutsummaryrefslogtreecommitdiff
path: root/src/common/tuklib_physmem.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2015-02-10 15:28:30 +0200
committerLasse Collin <lasse.collin@tukaani.org>2015-02-10 15:28:30 +0200
commitd935b0cdf3db440269b9d952b2b281b18f8c7b08 (patch)
treedaaa0a7ee9b6a2b10248396cc1b15a535e084a43 /src/common/tuklib_physmem.c
parentxzdiff: Make the mktemp usage compatible with FreeBSD's mktemp. (diff)
downloadxz-d935b0cdf3db440269b9d952b2b281b18f8c7b08.tar.xz
tuklib_cpucores: Use cpuset_getaffinity() on FreeBSD if available.
In FreeBSD, cpuset_getaffinity() is the preferred way to get the number of available cores. Thanks to Rui Paulo for the patch. I edited it slightly, but hopefully I didn't break anything.
Diffstat (limited to 'src/common/tuklib_physmem.c')
0 files changed, 0 insertions, 0 deletions