Martin Storsjö af6feaa45c Use sched_getaffinity to get the number of cores on linux
This gets rid of the code that parses /proc/cpuinfo, and avoids
forking within the library.

The previous code also failed build on modern glibc versions
due to ignoring the return value of the system, read and write
system calls.
2014-01-22 09:44:48 +02:00
..
2014-01-08 17:03:00 -08:00
2014-01-08 17:03:00 -08:00
2014-01-16 15:57:22 +08:00
2014-01-08 17:03:00 -08:00
2014-01-18 13:59:24 +01:00