Re: glib branched

2012-10-03 Thread David Nečas
On Wed, Oct 03, 2012 at 12:35:57AM -0400, Matthias Clasen wrote:
 I have now created a glib-2-34 branch, so master is now open for
 ... GTask ...

Is this also intended, at least in the future, for things like
long-running calculations that need some monitoring/reporting of
progress not just the final result?  I mean, some monitoring can be
always implemented on top of GTask but once I get my hands dirty with
explicit asynchronous communication I can implement that directly on top
of GThread as well.  I always look hopefully at the asynchronous
interfaces in GLib with hope, however, the intended use cases do not
seem to match mine...

Thanks,

Yeti

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: glib branched

2012-10-03 Thread Bastien Nocera
On Wed, 2012-10-03 at 08:20 +0200, David Nečas wrote:
 On Wed, Oct 03, 2012 at 12:35:57AM -0400, Matthias Clasen wrote:
  I have now created a glib-2-34 branch, so master is now open for
  ... GTask ...
 
 Is this also intended, at least in the future, for things like
 long-running calculations that need some monitoring/reporting of
 progress not just the final result?  I mean, some monitoring can be
 always implemented on top of GTask but once I get my hands dirty with
 explicit asynchronous communication I can implement that directly on top
 of GThread as well.  I always look hopefully at the asynchronous
 interfaces in GLib with hope, however, the intended use cases do not
 seem to match mine...

Popping results out of a running thread is easy to do.

Create a GAsyncQueue.
In your thread, add your results to the queue, a schedule a function to
be called from the main loop with g_idle_add().

In your g_idle_add() callback, use g_async_queue_pop() to get the
results, and free your results.

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


glib branched

2012-10-02 Thread Matthias Clasen
I have now created a glib-2-34 branch, so master is now open for
Unicode 6.2, GSubprocess, GTask and GSettingsList.
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


GLib branched for 2.20

2009-04-18 Thread Matthias Clasen
I've just created a glib-2-20 branch. Please commit stable bug fixes
there. master is now open for development towards 2.22. Further 2.20.x
releases will be made off the glib-2-20 branch.

Matthias
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


GLib branched for 2.16

2008-03-12 Thread Matthias Clasen
I've created a glib-2-16 branch for maintenance of GLib 2.16.x, 
new material towards 2.18 can go onto trunk now.

Matthias

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


GLib branched for 2.14

2007-11-07 Thread Matthias Clasen
I have just created a glib-2-14 branch which will continue to receive
bugfixes and produce 2.14.x releases.

The work that we expect to land in trunk soon is the gio work that
Alex' has been working on for a while.
He sent out a mail outlining our merge plans earlier today.

Matthias
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list