Terry Lambert wrote:
> Yes. Signals are persistant conditions, not events.
Aha... That explains it.
> When you get the first SIGIO, set a flag (volatile) in the
> signal handler. In your main loop, check for the flag, and
> if it is present, use poll/select to verify that there is
> data pend
"Fernando P. Schapachnik" wrote:
> I'm trying to do Async I/O using O_ASYNC on sockets and handling
> SIGIO. My testing shows that even if I unblock SIGIO at the begining of the
> handler the kernel only delivers one level of nested signals. Ie: while the
> first SIGIO is being handled a s
Hello:
I'm trying to do Async I/O using O_ASYNC on sockets and handling
SIGIO. My testing shows that even if I unblock SIGIO at the begining of the
handler the kernel only delivers one level of nested signals. Ie: while the
first SIGIO is being handled a second might arrive, but a third de
3 matches
Mail list logo