From owner-freebsd-bugs Fri Jan 18 13: 0:13 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4DA2D37B405 for ; Fri, 18 Jan 2002 13:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0IL01K21893; Fri, 18 Jan 2002 13:00:01 -0800 (PST) (envelope-from gnats) Date: Fri, 18 Jan 2002 13:00:01 -0800 (PST) Message-Id: <200201182100.g0IL01K21893@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: k Macy Subject: Re: kern/34017: The siginfo_t passed to the signal handling routine is not filled out for AIO Reply-To: k Macy Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/34017; it has been noted by GNATS. From: k Macy To: Garrett Wollman Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: kern/34017: The siginfo_t passed to the signal handling routine is not filled out for AIO Date: Fri, 18 Jan 2002 12:53:00 -0800 (PST) Is using SIGEV_SIGNAL with AIO to deliver a SIGIO on completion fall under the heading of real time signals? If that is the case, SA_SIGINFO is not useful, because it gives you the same information in the (siginfo_t *info) as the (int code) would contain. It is at least a bug in the documentation. In the man page it should say that the siginfo_t does not get filled out, and that SA_SIGINFO is just there for some level of posix compatibility. If you're certain of this, this can be reclassified as an RFE, and I'll submit a docs bug. --- Garrett Wollman wrote: > < said: > > > One can, when using AIO, enable a signal to be > delivered on completion. > > The siginfo_t passed to the signal handling > routine that gets called on > > completion is supposed to have a reference to the > sigev_value that is > > set when the aio_* operation is dispatched. This > does not happen. > > FreeBSD does not support POSIX real-time signals. > > -GAWollman > > > __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message