How ?

Wolfgang Denk wd at denx.de
Thu May 15 23:35:01 EST 2003


In message <Pine.LNX.4.44.0305150828210.26702-100000 at spider.ancor.com> you wrote:
>
> Don't know why you want to handle it from user space, but the easiest way
> to notify an application would be to send a signal. Have a special ioctl()
> to notify the driver that this application wants a signal, and then when
> the driver receives the interrupt it clears the condition and sends a
> signal to the registered application(s).

Instead of inventing new special ioctl()'s it's  probably  better  to
use existing and standardized interfaces like select() resp. poll().

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"The POP3 server service depends on the SMTP  server  service,  which
failed to start because of the following error: The operation comple-
ted successfully."                         -- Windows NT Server v3.51

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list