xz-analysis-mirror/src
Lasse Collin 88d7a7fd15 tuklib_cpucores: Add support for sched_getaffinity().
It's available in glibc (GNU/Linux, GNU/kFreeBSD). It's better
than sysconf(_SC_NPROCESSORS_ONLN) because sched_getaffinity()
gives the number of cores available to the process instead of
the total number of cores online.

As a side effect, this commit fixes a bug on GNU/kFreeBSD where
configure would detect the FreeBSD-specific cpuset_getaffinity()
but it wouldn't actually work because on GNU/kFreeBSD it requires
using -lfreebsd-glue when linking. Now the glibc-specific function
will be used instead.

Thanks to Sebastian Andrzej Siewior for the original patch
and testing.
2016-12-26 17:24:09 +02:00
..
common tuklib_cpucores: Add support for sched_getaffinity(). 2016-12-26 17:24:09 +02:00
liblzma liblzma: Disable external SHA-256 by default. 2016-06-28 21:09:46 +03:00
lzmainfo Build: Prepare to support Automake's subdir-objects. 2014-10-29 21:15:35 +02:00
scripts xzdiff: Make the mktemp usage compatible with FreeBSD's mktemp. 2015-02-09 22:08:37 +02:00
xz xz: Fix copying of timestamps on Windows. 2016-06-30 21:00:49 +03:00
xzdec Build: Prepare to support Automake's subdir-objects. 2014-10-29 21:15:35 +02:00
Makefile.am Build: Prepare to support Automake's subdir-objects. 2014-10-29 21:15:35 +02:00