This is the mail archive of the
guile-gtk@sources.redhat.com
mailing list for the Guile project.
Re: gdk_threads_enter versus sgtk_init_threads
- From: Kevin Ryde <user42 at zip dot com dot au>
- To: guile-gtk at sources dot redhat dot com
- Date: Fri, 30 May 2003 11:21:52 +1000
- Subject: Re: gdk_threads_enter versus sgtk_init_threads
- References: <87d6i9jjd5.fsf@zip.com.au>
I wrote:
>
> * gdk-1.2.defs (gdk_threads_enter, gdk_threads_leave): Add undeferred,
> since these are thread safe, and in particular enter needs other
> threads runnable to release the mutex.
> * guile-gtk.c (sgtk_init_substrate): Move sgtk_init_threads ....
> (sgtk_init_with_args): ... to here, to ensure glib threading is setup
> before gtk_init and gdk_init run.
I made this change.