diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-05-21 15:09:43 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-05-27 13:12:07 -0300 |
commit | d85ad0e58a068623a09a4a3463dce3bf411c8cb4 (patch) | |
tree | 0a27f6572674993ca9a06037d723550112082c31 /support/xthread.h | |
parent | 42813c675dea94d3d082640ee933ce7f59d4979f (diff) | |
download | glibc-d85ad0e58a068623a09a4a3463dce3bf411c8cb4.tar.gz glibc-d85ad0e58a068623a09a4a3463dce3bf411c8cb4.tar.xz glibc-d85ad0e58a068623a09a4a3463dce3bf411c8cb4.zip |
support: Add xpthread_attr_setaffinity_np wrapper
Diffstat (limited to 'support/xthread.h')
-rw-r--r-- | support/xthread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/support/xthread.h b/support/xthread.h index 1ba3f133ad..c0dbb6086e 100644 --- a/support/xthread.h +++ b/support/xthread.h @@ -66,6 +66,9 @@ 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); +void xpthread_attr_setaffinity_np (pthread_attr_t *attr, + size_t cpusetsize, + const cpu_set_t *cpuset); void xpthread_attr_setdetachstate (pthread_attr_t *attr, int detachstate); void xpthread_attr_setstack (pthread_attr_t *attr, void *stackaddr, |