From owner-freebsd-stable Tue Nov 16 20:56:29 1999 Delivered-To: freebsd-stable@freebsd.org Received: from luna.lyris.net (luna.shelby.com [207.90.155.6]) by hub.freebsd.org (Postfix) with ESMTP id 0B64F14DD7 for ; Tue, 16 Nov 1999 20:56:22 -0800 (PST) (envelope-from kip@lyris.com) Received: from luna.shelby.com by luna.lyris.net (8.9.1b+Sun/SMI-SVR4) id UAA10633; Tue, 16 Nov 1999 20:56:02 -0800 (PST) Received: from (luna.shelby.com [207.90.155.6]) by luna.shelby.com with SMTP (MailShield v1.50); Tue, 16 Nov 1999 20:56:02 -0700 Date: Tue, 16 Nov 1999 20:56:02 -0800 (PST) From: Kip Macy X-Sender: kip@luna To: stable@freebsd.org Subject: aio_write not causing signal to be transmitted Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SMTP-HELO: luna X-SMTP-MAIL-FROM: kip@lyris.com X-SMTP-RCPT-TO: stable@freebsd.org X-SMTP-PEER-INFO: luna.shelby.com [207.90.155.6] Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From inside a function: send_data->aio_fildes = descriptor; send_data->aio_buf = buf; send_data->aio_nbytes = nbytes; send_data->aio_sigevent.sigev_notify = SIGEV_SIGNAL; send_data->aio_sigevent.sigev_signo = SIGIO; send_data->aio_sigevent.sigev_value.sival_int = descriptor; aio_write(&(aiocb_set->write_aiocb_table[descriptor]); The write completes but a signal is never sent to the process - when I run under gdb and set it to stop at a SIGIO it never stops. Am I misunderstanding the API? -Kip To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message