git: pthread: Implement pthread_{set,get}affinity_np
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Sat Jan 14 01:32:15 PST 2017
commit b29203807e853904a3411f05fdeebb0c3b0cab90
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Sat Jan 14 16:12:40 2017 +0800
pthread: Implement pthread_{set,get}affinity_np
Summary of changes:
include/pthread_np.h | 4 +
lib/libc/gen/Symbol.map | 4 +
lib/libc/gen/_pthread_stubs.c | 2 +
lib/libc/include/namespace.h | 2 +
lib/libc/include/un-namespace.h | 2 +
lib/libc_r/uthread/Makefile.inc | 1 +
.../{uthread_shutdown.c => uthread_affinity.c} | 63 ++++++------
lib/libpthread/Makefile | 2 +
.../pthread_setaffinity_np.3} | 111 ++++++++++-----------
lib/libthread_xu/pthread.map | 4 +
lib/libthread_xu/thread/Makefile.inc | 1 +
.../thread/{thr_info.c => thr_affinity.c} | 73 ++++++++++++--
lib/libthread_xu/thread/thr_init.c | 4 +
sys/sys/param.h | 3 +-
14 files changed, 173 insertions(+), 103 deletions(-)
copy lib/libc_r/uthread/{uthread_shutdown.c => uthread_affinity.c} (69%)
copy lib/{libc/sys/lwp_setaffinity.2 => libpthread/pthread_setaffinity_np.3} (63%)
copy lib/libthread_xu/thread/{thr_info.c => thr_affinity.c} (57%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b29203807e853904a3411f05fdeebb0c3b0cab90
--
DragonFly BSD source repository
More information about the Commits
mailing list