Messages in this thread | | | Date | Thu, 21 Nov 2002 00:37:39 +0000 | From | Jamie Lokier <> | Subject | Re: [patch] threading enhancements, tid-2.5.47-C0 |
| |
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/
| |