Re: AsyncQueue
- From: Guillaume Brocker <guillaume brocker digital-trainers com>
- To: gtkmm-list gnome org
- Subject: Re: AsyncQueue
- Date: Mon, 21 Feb 2011 11:49:15 +0100
Le 21/02/2011 11:30, Murray Cumming a écrit :
On Wed, 2011-01-12 at 17:14 +0100, Murray Cumming wrote:
On Tue, 2011-01-04 at 15:06 -0500, Tristan Matthews wrote:
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...
"
Is anyone interested in this?
I also had to implemented such an async queue based on std::queue and
Glib::Dispatcher. Providing GAsyncQueue API access in gtkmm sounds
interesting to me.
Guillaume
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]