Date: Thu, 22 Apr 1999 10:39:51 -0400 (EDT) From: Peter Dufault <dufault@hda.com> To: cmsedore@mailbox.syr.edu (Christopher Sedore) Cc: hackers@FreeBSD.ORG Subject: Re: aio_suspend() functionality Message-ID: <199904221439.KAA29489@hda.hda.com> In-Reply-To: <Pine.SOL.3.95.990421215301.26724A-100000@rodan.syr.edu> from Christopher Sedore at "Apr 21, 99 10:25:18 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> I sent a message a day or two ago asking if anyone had looked into > changing the behavior of aio_suspend so that it did not require a list of > aiocb's, but rather would accept an array of null pointers, and then fill > them in for you when an operation completed. Unfortunately this explicitly violates the standard so be sure to conditionalize it properly. In 6.7.8.2 about the array: "This array may contain NULL pointers, which shall be ignored." The hooks POSIX tries to provide to implement what you want are via signals - using aio_sigevent, SIGEV_SIGNAL, "Realtime Signals", and the associated si_value for the completion cookie. Peter -- Peter Dufault (dufault@hda.com) Realtime development, Machine control, HD Associates, Inc. Safety critical systems, Agency approval 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?199904221439.KAA29489>