tech-x11 archive

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

Re: kqueue: SIGIO?



On Tue, Sep 29, 2015 at 10:09:51PM +0200, Rhialto wrote:
> On Tue 29 Sep 2015 at 13:22:08 +0200, Tobias Nygren wrote:
> > Here is the relevant bit of the talk if you are curious:
> > 
> > https://www.youtube.com/watch?v=t400SmZlnO8&feature=youtu.be&t=1888
> 
> So he wants a signal when a message is available in a kqueue, in other
> words, can be read with kevent(2).

Why oh why. I thought the X server finally got rid of the
overcomplicated signal handlers. If there is any kind of load going on,
the signal sending is more costly than occassional querying the kqueue
for (other active) entries. If there is no load, it doesn't make a
difference.

Joerg


Home | Main Index | Thread Index | Old Index