David Xu a30ec4b99c 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.

Reviewed by: deischen, dfr
2004-01-03 02:02:26 +00:00
..
2003-08-19 17:12:21 +00:00
2003-11-27 20:27:29 +00:00
2003-11-12 18:14:34 +00:00
2003-06-02 06:43:15 +00:00
2003-11-10 15:48:30 +00:00
2003-11-03 21:53:38 +00:00
2003-06-02 06:43:15 +00:00
2003-11-03 22:32:04 +00:00
2003-11-03 21:53:38 +00:00
2003-12-29 06:47:38 +00:00