Thread (1 message) 1 message, 1 author, 2003-05-15
  • (off-list ancestor, not in this archive)
  • Re: How ? · Wolfgang Denk <hidden> · 2003-05-15

Re: How ?

From: Wolfgang Denk <hidden>
Date: 2003-05-15 13:35:01

In message [ref] 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@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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help