[Mono-list] help needed

Petru Paler ppetru@ppetru.net
23 Nov 2001 18:53:18 +0200


On Fri, 2001-11-23 at 18:31, Dietmar Maurer wrote:
> Can someone tell me why the following program ends in an endless loop?

As far as I know, realtime signals are put into a queue, so maybe you
need to do something explicitly to get the signal out of the queue?

http://www.kegel.com/c10k.html#nb.sigio refers to rtsignal-based I/O
event polling, but it's interesting how it suggests the blocking of the
signal, then using sigwaitinfo() or sigtimedwait() to poll for events.
That might not be useful in your case, though (I suppose you just want
to see where in the code the FPE occurred).

-- 
Petru Paler, http://www.ppetru.net