diff options
Diffstat (limited to 'support/xthread.h')
-rw-r--r-- | support/xthread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/support/xthread.h b/support/xthread.h index c0dbb60..a4a4ec5 100644 --- a/support/xthread.h +++ b/support/xthread.h @@ -66,9 +66,11 @@ void *xpthread_join (pthread_t thr); void xpthread_once (pthread_once_t *guard, void (*func) (void)); void xpthread_attr_destroy (pthread_attr_t *attr); void xpthread_attr_init (pthread_attr_t *attr); +#ifdef __linux__ void xpthread_attr_setaffinity_np (pthread_attr_t *attr, size_t cpusetsize, const cpu_set_t *cpuset); +#endif void xpthread_attr_setdetachstate (pthread_attr_t *attr, int detachstate); void xpthread_attr_setstack (pthread_attr_t *attr, void *stackaddr, |