Is there a way to have a (non-main iteration) thread issue a signal when it 
ends?

I start up a timeout and an idle function when I spawn a new thread.
I want the main iteration to stop the timeout and idle function as soon as the 
new thread is finished and disappears.

It seems to me that if that new thread would issue a signal upon ending, I 
could have a main iteration callback do the g_source_remove (idle function) and 
g_source_remove (timeout function). My understanding (wrong?) is that only the 
main iteration is allowed to call gtk functions like g_source_remove().


Or is there a smarter way to go?

Dave
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to