[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Threads and main-loops
- From: John K Luebs <jkluebs luebsphoto com>
- To: Russell Shaw <rjshaw netspace net au>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Threads and main-loops
- Date: Thu, 2 Sep 2004 03:52:21 -0400
On Thu, Sep 02, 2004 at 04:56:26PM +1000, Russell Shaw wrote:
> Hi,
>
> If i make multiple loops with:
>
> GMainLoop *loop1=g_main_loop_new(context1,TRUE);
> GMainLoop *loop2=g_main_loop_new(context2,TRUE);
> GMainLoop *loop3=g_main_loop_new(context3,TRUE);
> g_main_loop_run(loop1);
> g_main_loop_run(loop2);
> g_main_loop_run(loop3);
>
> Are all these running in a single gtk thread? If so, can their
> callbacks call GUI widgets without thread-locking problems?
What are you trying to accomplish, exactly?
-jkl
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]