Re: GEvent - Proposal for a new threading structure for GLib

On Fri, 2006-11-17 at 17:32 +0100, Murray Cumming wrote:
> This seems similar to a class we have in glibmm, Glib::Dispatcher:
> though that uses pipes to get some kind of locking for free. I didn't
> imlpement it. It's quite popular.

Yeah, Evolution-Data-Server has something similar called an EMsgPort
which uses pipes to help cancel blocking I/O operations.  But using
pipes for simple thread synchronization doesn't scale well, since the
operating system limits the number of open file descriptors.

Many Evolution users were hitting that limit earlier this year until we
seriously cut back on using pipes that way:

Matthew Barnes

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