>
>On Wed, 2005-09-28 at 20:44 -0400, Bagalkote, Sreenivas wrote:
>> >(Sheesh, what is it with people thinking signals are
>something to be
>> >used in any design after the 1970's?)
>> What's your recommendation for asynchronous notification from driver
>> to an application?
>
>Pass back an fd to select() upon. Cuts out that nasty middle
>step where app authors end up registering a signal handler
>that merely write()s the signal number down a pipe into the
>(nearly ubiquitous) select loop.
>
>Ray
>
select() is not asynchronous to the app (like a signal handler is).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|