Re: problems when using g_main_loop_quit from different thread
- From: Tristan Van Berkom <tristan van berkom gmail com>
- To: Armin Bauer <armin bauer desscon com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: problems when using g_main_loop_quit from different thread
- Date: Thu, 09 Mar 2006 13:19:50 -0500
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]