Re: Asychronous messages to user-land

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2004-03-22 at 15:58, Bernd Petrovitsch wrote:
> On Mon, 2004-03-22 at 11:36, Zeeshan Ali wrote:
> >   I wanted to send asynchronous messages from my
> > kernel module to applications through a device. From
> > 'Linux Device Drivers', I get the idea that SIGIO is
> > the method. But I wanted to pass some data along with
> > it as well, which does'nt seem possible through SIGIO.
> > Note that i need to pass the data EXACTLY along the
> > asychronous signal.
> 
> You want to implement a simple character device where your application
> can use poll/select. An on the following read() your device driver

*arrgl* - and block on read() of course.

> delivers exactly what is correct.

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux