Re: Quitting a child thread's GMainLoop

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

 



On 8/4/10 6:44 PM, Chris Vine wrote:
> Our posts have crossed but you wouldn't use a quit flag at all.  If
> the main thread calls g_main_loop_quit() on a worker thread's main
> loop, whether via an idle handler (my first suggestion) or directly
> (my second), the main loop will come to an end and the thread will
> run to its return point and terminate.

Thanks -- that's exactly what I was looking for.  It seems to work, and
is a lot more straightforward than I thought it'd be.  I guess I should
have tried the simplest thing first.  :)
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux