Re: multithreading problem.
- From: Soeren Sandmann <sandmann daimi au dk>
- To: Paul Davis <pbd op net>
- Cc: Robert Walker <bob step polymtl ca>, gtk-list gnome org
- Subject: Re: multithreading problem.
- Date: 05 Jun 2002 14:02:50 +0200
Paul Davis <pbd op net> writes:
> >I guess I am going to give the second approach a try. A simple pipe
> >should do the job but is there any message system in gtk/glib/gdk
> >that should be used (user defined signals ?) ?
>
> no, there isn't.
It is possible to use g_idle_add() to make the main thread do gdk/gtk
calls. g_idle_add() does all the necessary locking itself so it
doesn't have to be surrounded by any locking.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]