Re: Events

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Jun 24 2000 - 17:25:42 EST


> 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/



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:05 EST