lkml.org 
[lkml]   [2000]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SCO: "thread creation is about a thousand times faster than on native Linux"
Philipp Rumpf wrote:
> It might be worth it to make SIGSTOP / SIGCONT nest properly anyway. Would
> keeping a counter of the level of SIGSTOPs received violate any common
> standard / break any applications ?

POSIX 1003.1 wouldn't like this at all:

3.3.1.2, pg 73:
"Conversely, when SIGCONT is generated for a process, all pending stop
signals for that process shall be discarded."
3.3.1.2, pg 76:
"While a process is stopped, any additional signals that are sent to
the process shall not be delivered until the process is continued
[...]"

So no, SIGSTOP/SIGCONT can't nest.

- Werner

--
_________________________________________________________________________
/ Werner Almesberger, ICA, EPFL, CH werner.almesberger@ica.epfl.ch /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.142 / U:6.452 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site