From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stan Pinte Newsgroups: gmane.lisp.guile.bugs,gmane.lisp.guile.user Subject: Re: [Bug #2110] bug in threading implementation using guile-1.6.1 Date: Fri, 10 Jan 2003 15:23:20 +0100 Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed X-Trace: main.gmane.org 1042208865 17848 80.91.224.249 (10 Jan 2003 14:27:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 10 Jan 2003 14:27:45 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18X08N-0004dZ-00 for ; Fri, 10 Jan 2003 15:27:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18X09M-0001Pc-00 for guile-bugs@m.gmane.org; Fri, 10 Jan 2003 09:28:44 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18X06B-00008L-00 for bug-guile@gnu.org; Fri, 10 Jan 2003 09:25:27 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18X04r-0007oa-00 for bug-guile@gnu.org; Fri, 10 Jan 2003 09:24:12 -0500 Original-Received: from maho3msx2.corp.emc.com ([128.221.11.32]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18X04j-0006gA-00; Fri, 10 Jan 2003 09:23:57 -0500 Original-Received: from BEDEVPINTES ([10.68.1.19]) by maho3msx2.corp.emc.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id ZGWWSF3G; Fri, 10 Jan 2003 09:23:27 -0500 Original-To: djurfeldt@nada.kth.se, bug-guile@gnu.org, guile-user@gnu.org User-Agent: Opera M2 7.0 build 2349 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GUILE, GNU's Ubiquitous Extension Language List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.bugs:622 gmane.lisp.guile.user:1524 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:622 On Fri, 10 Jan 2003 15:13:35 +0100, Mikael Djurfeldt wrote: > nobody@savannah.gnu.org writes: > >> =================== BUG #2110: LATEST MODIFICATIONS ================== >> http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2110&group_id=39 >> >> Changes by: Stan Pinte >> Date: 2003-Jan-10 13:38 (GMT) >> >> ------------------ Additional Follow-up Comments ------------------------ >> >> >> ---- >> This only seems to happen when I make two calls two (gtk-main), >> indirectly. >> >> -> one via the (gtk-ensure-handler) call >> -> one afterwards, via the (gtk-main) call. > > Well, this is not a correct usage pattern. (gtk-ensure-handler) > spawns a gtk handler which handles all events of the application. > That is, it is an *alternative* to (gtk-main). > > If your intention with calling gtk-main is to wait for the application > to quit, I suggest that you wait on a condition variable instead. > Then make sure that it is signalled when the application quits. > (But maybe someone else more versed in guile-gtk have a better > suggestion.) > > If I do what you describe in an interactive guile session, I get a lot > of glib warning messages which are properly informative: > > g_main_iterate(): main loop already active in another thread > > It would of course be nicer not to get stuck in a loop but just get > *one* error message... that is exactly the same as I get. thanks for helping. > > Best regards, > Mikael Djurfeldt > > -- Stan Pinte _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://mail.gnu.org/mailman/listinfo/bug-guile