Re: [patch] threading enhancements, tid-2.5.47-C0

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Wed Nov 20 2002 - 19:37:39 EST


Ulrich Drepper wrote:
> > - of
> > the order of a single system call time, i.e. not significant. (That
> > delay is much shorter than signal delivery time itself). No signals
> > are actually _lost_,
>
> Of course they can get lost. Normal Unix signals are not queued.

Oh yes they are. Libc info for "Why Block":

   Temporary blocking of signals with `sigprocmask' gives you a way to
   prevent interrupts during critical parts of your code. *If signals
   arrive in that part of the program, they are delivered later, after you
   unblock them.*

And sigpending(2):

   The sigpending call allows the examination of pending signals (ones
   which have been raised while blocked). The signal mask of pending
   signals is stored in set".

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:34 EST