Re: SCO: "thread creation is about a thousand times faster than on native Linux"

From: almesber@lrc.di.epfl.ch
Date: Sat Aug 26 2000 - 18:45:13 EST


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/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:18 EST