Re: kernel to user-space communication

Richard B. Johnson (root@chaos.analogic.com)
Mon, 12 Aug 2002 12:04:05 -0400 (EDT)


On Mon, 12 Aug 2002, daniel sheltraw wrote:

> Hello Kernel
>
> Is there a way to comminicate to a user-space program that an
> interrupt has occurred in a kernel module?
>
> Thanks,
> Daniel Sheltraw

Yes, poll() or select(). Look at some character drivers in the kernel.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).
The US military has given us many words, FUBAR, SNAFU, now ENRON.
Yes, top management were graduates of West Point and Annapolis.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/