Move `{total,current}-processor-count' outside of `posix.c'.
authorLudovic Courtès <ludo@gnu.org>
Mon, 25 Apr 2011 20:41:58 +0000 (22:41 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 25 Apr 2011 20:41:58 +0000 (22:41 +0200)
commitd20912e67d810ce5eb9dc1b8f8afd8c22aa2451b
tree987f0fd1150c26e230547b21c076f867fca1b1e9
parentbbec4602457ed3e139e9dae99b4b495a3bc5eb71
Move `{total,current}-processor-count' outside of `posix.c'.

* libguile/posix.c (scm_total_processor_count,
  scm_current_processor_count): Move to...
* libguile/threads.c: ... here.

* libguile/posix.h (scm_total_processor_count,
  scm_current_processor_count): Move declarations to...
* libguile/threads.h: ... here.

* test-suite/tests/posix.test ("nproc"): Move tests to...
* test-suite/tests/threads.test: ... here.
libguile/posix.c
libguile/posix.h
libguile/threads.c
libguile/threads.h
test-suite/tests/posix.test
test-suite/tests/threads.test