Re: problems when using g_main_loop_quit from different thread



Armin Bauer wrote:

Is this a known problem or am i doing something wrong?
Heh, I think I figured it out; I think that after calling g_main_loop_quit();
if the thread is sleeping, you'll have to call g_main_context_wakeup() on
it for _run() to return; I wonder if that is a bug or should be considered one
(i.e. should that be implicit ?).

Cheers,
                          -Tristan




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