cvs commit: src/lib/libpthread/thread thr_init.c thr_kern.c
thr_nanosleep.c thr_private.h thr_sig.c thr_sigaction.c
thr_sigmask.c thr_sigpending.c thr_sigprocmask.c thr_sigsuspend.c
thr_sigwait.c thr_yield.c
David Xu
davidxu at FreeBSD.org
Sun Aug 17 20:58:31 PDT 2003
davidxu 2003/08/17 20:58:29 PDT
FreeBSD src repository
Modified files:
lib/libpthread/thread thr_init.c thr_kern.c thr_nanosleep.c
thr_private.h thr_sig.c thr_sigaction.c
thr_sigmask.c thr_sigpending.c
thr_sigprocmask.c thr_sigsuspend.c
thr_sigwait.c thr_yield.c
Log:
Treat initial thread as scope system thread when KSE mode is not activated
yet, so we can protect some locking code from being interrupted by signal
handling. When KSE mode is turned on, reset the thread flag to scope process
except we are running in 1:1 mode which we needn't turn it off.
Also remove some unused member variables in structure kse.
Tested by: deischen
Revision Changes Path
1.60 +3 -4 src/lib/libpthread/thread/thr_init.c
1.88 +9 -15 src/lib/libpthread/thread/thr_kern.c
1.23 +1 -2 src/lib/libpthread/thread/thr_nanosleep.c
1.97 +0 -12 src/lib/libpthread/thread/thr_private.h
1.68 +24 -29 src/lib/libpthread/thread/thr_sig.c
1.21 +0 -3 src/lib/libpthread/thread/thr_sigaction.c
1.17 +0 -3 src/lib/libpthread/thread/thr_sigmask.c
1.16 +1 -2 src/lib/libpthread/thread/thr_sigpending.c
1.17 +5 -4 src/lib/libpthread/thread/thr_sigprocmask.c
1.22 +1 -2 src/lib/libpthread/thread/thr_sigsuspend.c
1.33 +1 -2 src/lib/libpthread/thread/thr_sigwait.c
1.15 +2 -3 src/lib/libpthread/thread/thr_yield.c
More information about the cvs-src
mailing list