From owner-freebsd-questions Wed Jan 2 19: 2: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from servidor1.cursosvirtuales.com.ar (www.cursosvirtuales.com.ar [200.10.104.198]) by hub.freebsd.org (Postfix) with ESMTP id 6C94D37B41C for ; Wed, 2 Jan 2002 19:02:03 -0800 (PST) Received: (from fpscha@localhost) by servidor1.cursosvirtuales.com.ar (8.11.1/8.11.1) id g0332V549106 for freebsd-questions@freebsd.org; Thu, 3 Jan 2002 00:02:31 -0300 (ART) (envelope-from fpscha) From: "Fernando P. Schapachnik" Message-Id: <200201030302.g0332V549106@servidor1.cursosvirtuales.com.ar> Subject: SIGIO for async I/O To: freebsd-questions@freebsd.org Date: Thu, 3 Jan 2002 00:02:31 -0300 (ART) X-From: Fernando Schapachnik Reply-To: fernando@cursosvirtuales.com.ar X-OS: FreeBSD 4.2 - http://www.freebsd.org X-Mailer: ELM [version 2.4ME+ PL87 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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. Is this a know 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-questions" in the body of the message