Date: Tue, 16 Nov 1999 20:56:02 -0800 (PST) From: Kip Macy <kip@lyris.com> To: stable@freebsd.org Subject: aio_write not causing signal to be transmitted Message-ID: <Pine.SOL.4.05.9911162016210.10464-100000@luna>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.05.9911162016210.10464-100000>
