cvs commit: src/sys/i386/linux linux_sysvec.c
David Xu
davidxu at FreeBSD.org
Sat Jan 3 15:31:30 PST 2004
davidxu 2004/01/03 15:31:29 PST
FreeBSD src repository
Modified files:
sys/i386/linux linux_sysvec.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.130 +2 -2 src/sys/i386/linux/linux_sysvec.c
More information about the cvs-all
mailing list