Date: Sat, 3 Jan 2004 15:31:29 -0800 (PST) From: David Xu <davidxu@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/linux linux_sysvec.c Message-ID: <200401032331.i03NVTSh083802@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401032331.i03NVTSh083802>
