Re: AsyncQueue



On Tue, 2011-01-04 at 15:06 -0500, Tristan Matthews wrote:
> Hi, 
> 
> Any movement on this feature request?
> https://bugzilla.gnome.org/show_bug.cgi?id=511972

Well, I'd like more people to look at it, and discuss it here, because
it's not something that I use myself.

Copy/Pasting from https://bugzilla.gnome.org/show_bug.cgi?id=511972#c0
"
In glib there is the GAsyncQueue that can be used to send inter-thread
objects in a thread-safe way.

The Glib::Dispatcher is useful for sending events, but not to transmit
computation results, or synchronise a thread doing some logic work...
but glib does.

I've created my own, somewhat based on the glib one code, but using the
std::queue and the glibmm thread logics...
"
-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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