problems when using g_main_loop_quit from different thread

2006-03-09 Thread Armin Bauer
4. some time later: call g_main_loop_quit from main whats supposed to happen (i guess) is that the main loop quits. But sometimes the call to loop_quit just has not effect, so the main loop continues to run. Is this a known problem or am i doing something wrong? Best Regards, Armin Bauer

Re: problems when using g_main_loop_quit from different thread

2006-03-09 Thread Armin Bauer
Tristan Van Berkom wrote: 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