]> icculus.org git repositories - icculus/xz.git/commit - src/xz/message.c
Cleanups to the code that detects the amount of RAM and
authorLasse Collin <lasse.collin@tukaani.org>
Fri, 13 Feb 2009 22:45:29 +0000 (00:45 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 13 Feb 2009 22:45:29 +0000 (00:45 +0200)
commit3084d662d2646ab7eb58daf0dc32cf3f9a74eec7
tree6601b6dee1b3c35b6894d71fcdbf1554801aff4f
parent9c62371eab2706c46b1072f5935e28cb4cd9dca8
Cleanups to the code that detects the amount of RAM and
the number of CPU cores. Added support for using sysinfo()
on Linux systems whose libc lacks appropriate sysconf()
support (at least dietlibc). The Autoconf macros were
split into separate files, and CPU core count detection
was moved from hardware.c to cpucores.h. The core count
isn't used for anything real for now, so a problematic
part in process.c was commented out.
configure.ac
m4/lc_cpucores.m4 [new file with mode: 0644]
m4/lc_physmem.m4 [new file with mode: 0644]
src/common/cpucores.h [new file with mode: 0644]
src/common/physmem.h
src/xz/args.c
src/xz/hardware.c
src/xz/hardware.h
src/xz/message.c
src/xz/process.c