Re: Multi-threaded GTK+



Lo Hans,

On Wed, 07 Nov 2001 22:49:34 +0100
Hans Breuer <hans breuer org> wrote:

> Balsa (mail client) : http://www.newton.cx/balsa/
> Pavuk (web site cloning) :
> http://www.idata.sk/~ondrej/pavuk/about.html gftp (ftp client) :
> http://gftp.seul.org/

Perhaps it's me, but all those three projects have really ugly,
non-evident threading code, and seem to me very bad examples of how to
use threading & GTK at all...

So, can someone tell me how to use threading and GTK? I saw somewhere a
hint to just have the GUI handled by the main thread and exiting the
thread with a deferred GUI call (using gtk_idle_add()). Somewhere else I
saw a hint to lock things (using GDK_THREADS_XXX fun) inside a thread.

Bye.

--
Ecuación algebraico sin solución posible,
a menos de poseer profundos conocimientos
en matemática - Revueltas (Ocho Por Radio)



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