Re: multithreading problem.

Paul Davis <pbd op net> writes:

> >I guess I am going to give the second approach a try. A simple pipe
> >should do the job but is there any message system in gtk/glib/gdk
> >that should be used (user defined signals ?) ?
> no, there isn't. 

It is possible to use g_idle_add() to make the main thread do gdk/gtk
calls. g_idle_add() does all the necessary locking itself so it
doesn't have to be surrounded by any locking.

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