diff options
author | davidxu <davidxu@FreeBSD.org> | 2008-03-03 09:16:29 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2008-03-03 09:16:29 +0000 |
commit | f88b9710087dfae24a065020116215db6bc34d68 (patch) | |
tree | f390ee931efe27daa2b393743cefa4e726e1e4b8 /lib/libthr/pthread.map | |
parent | e2e4c837de5cfae655ecdc17cdc731c376d68dfa (diff) | |
download | FreeBSD-src-f88b9710087dfae24a065020116215db6bc34d68.zip FreeBSD-src-f88b9710087dfae24a065020116215db6bc34d68.tar.gz |
Implement functions pthread_getaffinity_np and pthread_setaffinity_np to
get and set thread's cpu affinity mask.
Diffstat (limited to 'lib/libthr/pthread.map')
-rw-r--r-- | lib/libthr/pthread.map | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libthr/pthread.map b/lib/libthr/pthread.map index 0da4f67..b2ef7e8 100644 --- a/lib/libthr/pthread.map +++ b/lib/libthr/pthread.map @@ -117,8 +117,8 @@ FBSD_1.0 { pthread_rwlockattr_getpshared; pthread_rwlockattr_init; pthread_rwlockattr_setpshared; - pthread_self; pthread_set_name_np; + pthread_self; pthread_setcancelstate; pthread_setcanceltype; pthread_setconcurrency; @@ -388,6 +388,8 @@ FBSDprivate_1.0 { }; FBSD_1.1 { + pthread_getaffinity_np; + pthread_setaffinity_np; pthread_mutex_getspinloops_np; pthread_mutex_getyieldloops_np; pthread_mutex_isowned_np; |