]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add new syscall thr_new to create thread in atomic, it will
authordavidxu <davidxu@FreeBSD.org>
Sat, 23 Apr 2005 02:36:07 +0000 (02:36 +0000)
committerdavidxu <davidxu@FreeBSD.org>
Sat, 23 Apr 2005 02:36:07 +0000 (02:36 +0000)
commit1b8f9e10e1c77cf32fd408b1eaf5562a9c139e2b
treee146c7b3c816f2b7589eac09ea561cfebaf9ad9c
parent2155a04472ed5deabbc69faec29261b585206f8b
Add new syscall thr_new to create thread in atomic, it will
inherit signal mask from parent thread, setup TLS and stack, and
user entry address.
Also support POSIX thread's PTHREAD_SCOPE_PROCESS and PTHREAD_SCOPE_SYSTEM,
sysctl is also provided to control the scheduler scope.
sys/kern/kern_thr.c
sys/kern/syscalls.master
sys/sys/thr.h