Re: GTK+ 3.6 threading?

2012-10-24 Thread Emmanuele Bassi
hi; On 24 October 2012 10:17, Dmitrijs Ledkovs wrote: > On 24 October 2012 04:34, Ardhan Madras wrote: > I can see that gdk_threads were recently removed. But there is no > guide on how to move away from those. you should probably read this thread: https://mail.gnome.org/archives/gtk-list/2012

Re: GTK+ 3.6 threading?

2012-10-24 Thread Osmo Antero
Hello, What if the GSourceFunc blocks for a longer time, eg. for 3 seconds time. Does it freeze the GUI because it runs within the main-loop? One possible approach: My audio-recorder uses a message queue (g_async_queue_new()) to receive data from various modules and threads. Ref: http://bazaar.lau

Re: GTK+ 3.6 threading?

2012-10-24 Thread Dmitrijs Ledkovs
On 24 October 2012 04:34, Ardhan Madras wrote: > > Hi, > > > Now that from GTK+ 3.6, thread functions are deprecated. Is there any > > new rules to do threading with the gtk+ 3.6 version? > > Are you talking about Glib? yes, there are many changes since 2.32 > (for now stable version is 2.34)

Re: GTK+ 3.6 threading?

2012-10-23 Thread Ardhan Madras
Hi, > Now that from GTK+ 3.6, thread functions are deprecated. Is there any > new rules to do threading with the gtk+ 3.6 version? Are you talking about Glib? yes, there are many changes since 2.32 (for now stable version is 2.34), from high level view, the changes such as new thread creatio

GTK+ 3.6 threading?

2012-10-22 Thread Weitian Leung
Hi, Now that from GTK+ 3.6, thread functions are deprecated. Is there any new rules to do threading with the gtk+ 3.6 version? Just for an example, I want to download many files in background, and show the progress in GUI, how should I do it? I tried */g_main_context_invoke/*, but s