Re: Events

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 24 Jun 2000 23:25:42 +0100 (BST)


> So we need a wait function witch can wait for both async
> file io and events. Specially the poll looks very good, adn
> I thought the easiest way for us to make events with file
> descriptor.

You've got one. Its called poll(). Write events down a pipe and when you
wake on the pipe read them to see what actual event is pending
>

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