Re: [Nautilus-list] Icon directory contents caching



Maciej Stachowiak <mjs noisehavoc org> writes: 
> One down side to this, though, is that every monitoring implementation
> would _have_ to give you a file descriptor you can wait on - it
> _can't_ just rely on periodic active polling on a separate
> thread. This means that you'd need a monitoring daemon for any module
> that wants to implement monitoring by polling.

To avoid requiring an fd, you could pass back a main loop source,
instead of an fd, perhaps. (Obvious disadvantage is that you require
the main loop, positive is that you avoid the down side you just
mentioned.)

Havoc





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]