Date: Sat, 5 Jan 2002 18:02:44 -0300 (ART) From: "Fernando P. Schapachnik" <fpscha@servidor1.cursosvirtuales.com.ar> To: freebsd-hackers@freebsd.org Subject: SA_NODEFER and signal nesting Message-ID: <200201052102.g05L2iW67469@servidor1.cursosvirtuales.com.ar>
next in thread | raw e-mail | index | archive | help
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 delivered signal does not reach the process. The same happens if I catch the signals with sigaction and specify SA_NODEFER. Same program on Linux can handle up to 23 nested signals. Is this a known behavior? Is there any way to change it? Thanks in advance for any pointer. Fernando P. Schapachnik fernando@cvi.com.ar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201052102.g05L2iW67469>