diff options
author | Ludovic Courtès <ludo@gnu.org> | 2010-12-01 23:58:39 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2010-12-03 00:38:29 +0100 |
commit | fe613fe25d55ac293fbce510a3ac6057b270fa31 (patch) | |
tree | fc7847df11f18f38c82ba3283b88cb84d4dc68f7 /doc/ref/api-scheduling.texi | |
parent | 50a4533f82e930adc357345e364672ac6c07ea16 (diff) | |
download | guile-fe613fe25d55ac293fbce510a3ac6057b270fa31.tar.gz |
Add bindings to GNU `sched_setaffinity' and `sched_getaffinity'.
* configure.ac: Add checks for `sched_setaffinity' and
`sched_getaffinity'.
* doc/ref/posix.texi (Processes): Document `getaffinity' and
`setaffinity'.
* libguile/posix.c (cpu_set_to_bitvector,
scm_getaffinity)[HAVE_SCHED_GETAFFINITY]: New functions.
(scm_setaffinity)[HAVE_SCHED_SETAFFINITY]: New function.
* libguile/posix.h (scm_getaffinity, scm_setaffinity): New declarations.
* test-suite/tests/posix.test ("affinity"): New test prefix.
Diffstat (limited to 'doc/ref/api-scheduling.texi')
0 files changed, 0 insertions, 0 deletions