The number of bits set is a good estimate of how many CPUs
Guile can use without stepping on other processes' toes.
-Currently this procedure is only defined on GNU variants.
+Currently this procedure is only defined on GNU variants
+(@pxref{CPU Affinity, @code{sched_getaffinity},, libc, The
+GNU C Library Reference Manual}).
@end deffn
@deffn {Scheme Procedure} setaffinity pid mask
the process or thread with ID @var{pid}. The return value
is unspecified.
-Currently this procedure is only defined on GNU variants.
+Currently this procedure is only defined on GNU variants
+(@pxref{CPU Affinity, @code{sched_setaffinity},, libc, The
+GNU C Library Reference Manual}).
@end deffn
"has its corresponding bit set in the returned bitvector.\n"
"The number of bits set is a good estimate of how many CPUs\n"
"Guile can use without stepping on other processes' toes.\n\n"
- "Currently this procedure is only defined on GNU variants.\n")
+ "Currently this procedure is only defined on GNU variants\n"
+ "(@pxref{CPU Affinity, @code{sched_getaffinity},, libc, The\n"
+ "GNU C Library Reference Manual}).\n")
#define FUNC_NAME s_scm_getaffinity
{
int err;
"Install the CPU affinity mask @var{mask}, a bitvector, for\n"
"the process or thread with ID @var{pid}. The return value\n"
"is unspecified.\n\n"
- "Currently this procedure is only defined on GNU variants.\n")
+ "Currently this procedure is only defined on GNU variants\n"
+ "(@pxref{CPU Affinity, @code{sched_setaffinity},, libc, The\n"
+ "GNU C Library Reference Manual}).\n")
#define FUNC_NAME s_scm_setaffinity
{
cpu_set_t cs;