AW: Notifying a user space application

Graf Alex alex.graf at
Thu Jul 1 15:45:47 EST 2004

Hello Christian

Please have a look to the newsqroup archive!
A good idea is to make a character device with a blocking read function.
>From User Space then you open the device. If the interrupt occours, release
the read.



-----Ursprüngliche Nachricht-----
Von: Christian Tröster [mailto:please.see.sig at]
Gesendet: Donnerstag, 1. Juli 2004 00:29
An: linuxppc-embedded at
Betreff: Notifying a user space application


I'd like to notify a user space application if an interrupt occurs. I had no
problems to install a custom signal handler but I am not sure what's the
way to notify the application.

My first idea was to send a signal to the application. But as far as I know
one has to know the pid to send the signal. So I'd need some mechanism to
this pid - perhaps via a /proc entry. Is this a clean solution?

Another idea was to create a (blocking) character device and have the
application listening on that using select() or something like that. But
seems to be a little bit bloated just for one signal. :)

Are there any other better ways I am not yet aware of. What do you think?

Bye, Christian

- --
| Mail: c dot troester at gmx dot de | PGP-Id: FA006C74 |

** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list