From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7206 invoked by alias); 30 May 2003 01:46:49 -0000 Mailing-List: contact guile-gtk-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: guile-gtk-owner@sources.redhat.com Received: (qmail 7188 invoked from network); 30 May 2003 01:46:48 -0000 Received: from unknown (HELO snoopy.pacific.net.au) (61.8.0.36) by sources.redhat.com with SMTP; 30 May 2003 01:46:48 -0000 Received: from sunny.pacific.net.au (sunny.pacific.net.au [203.2.228.40]) by snoopy.pacific.net.au (8.12.3/8.12.3/Debian-6.3) with ESMTP id h4U1kkPB022733 for ; Fri, 30 May 2003 11:46:47 +1000 Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h4U1kkQg016678 for ; Fri, 30 May 2003 11:46:46 +1000 (EST) Received: from localhost (ppp16.dyn228.pacific.net.au [203.143.228.16]) by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h4U1kfYa021873 for ; Fri, 30 May 2003 11:46:45 +1000 (EST) Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19LYag-0006RN-00; Fri, 30 May 2003 11:21:54 +1000 To: guile-gtk@sources.redhat.com Subject: Re: gdk_threads_enter versus sgtk_init_threads References: <87d6i9jjd5.fsf@zip.com.au> From: Kevin Ryde Mail-Copies-To: never Date: Fri, 30 May 2003 01:46:00 -0000 In-Reply-To: <87d6i9jjd5.fsf@zip.com.au> (Kevin Ryde's message of "Sat, 24 May 2003 10:09:26 +1000") Message-ID: <87fzmxkz4f.fsf@zip.com.au> User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q2/txt/msg00122.txt.bz2 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.