cvs commit: src/sys/alpha/osf1 osf1_signal.c
David Xu
davidxu at FreeBSD.org
Sat Jan 3 15:36:33 PST 2004
davidxu 2004/01/03 15:36:32 PST
FreeBSD src repository
Modified files:
sys/alpha/osf1 osf1_signal.c
Log:
Make sigaltstack as per-threaded, because per-process sigaltstack state
is useless for threaded programs, multiple threads can not share same
stack.
The alternative signal stack is private for thread, no lock is needed,
the orignal P_ALTSTACK is now moved into td_pflags and renamed to
TDP_ALTSTACK.
For single thread or Linux clone() based threaded program, there is no
semantic changed, because those programs only have one kernel thread
in every process.
Revision Changes Path
1.36 +6 -6 src/sys/alpha/osf1/osf1_signal.c
More information about the cvs-src
mailing list