Re: is gtk_signal_emit thread safe ?




DROUIN Antoine STNA 7SB K232 p5766 <drouin@stna.dgac.fr> writes:
 
> If another thread wants to notify the gtk-thread about something,
> can it use gtk_signal_emit ?

The callback for gtk_signal_emit will be executed in the
thread that calls gtk_signal_emit(). As I mentioned
in my other reply, you can use g_idle_add (or g_idle_add_full() 
if you want a higher priority).

                                        Owen




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