From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: About cleaning up the thread stuff Date: Tue, 18 Jan 2005 22:03:29 +0100 Message-ID: References: <2bc5f82105011810033f18dec5@mail.gmail.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1106082388 14870 80.91.229.6 (18 Jan 2005 21:06:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Jan 2005 21:06:28 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jan 18 22:06:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cr0YO-0003pb-00 for ; Tue, 18 Jan 2005 22:06:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cr0kK-0007vB-45 for guile-devel@m.gmane.org; Tue, 18 Jan 2005 16:18:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cr0jE-0007Og-UL for guile-devel@gnu.org; Tue, 18 Jan 2005 16:17:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cr0j4-0007Je-98 for guile-devel@gnu.org; Tue, 18 Jan 2005 16:17:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cr0j3-0007JH-7o for guile-devel@gnu.org; Tue, 18 Jan 2005 16:17:21 -0500 Original-Received: from [129.217.163.1] (helo=mail.dt.e-technik.uni-dortmund.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cr0Vj-0008NN-Fk for guile-devel@gnu.org; Tue, 18 Jan 2005 16:03:35 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id CF66A4F673; Tue, 18 Jan 2005 22:03:33 +0100 (CET) Original-Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07150-04; Tue, 18 Jan 2005 22:03:32 +0100 (CET) Original-Received: from troy.dt.e-technik.uni-dortmund.de (troy.dt.e-technik.uni-dortmund.de [129.217.163.17]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id C188C4F67B; Tue, 18 Jan 2005 22:03:30 +0100 (CET) Original-Received: by troy.dt.e-technik.uni-dortmund.de (Postfix, from userid 520) id 2EEDAB9A5; Tue, 18 Jan 2005 22:03:29 +0100 (CET) Original-To: Julian Graham In-Reply-To: <2bc5f82105011810033f18dec5@mail.gmail.com> (Julian Graham's message of "Tue, 18 Jan 2005 13:03:56 -0500") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:4699 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4699 Julian Graham writes: > I like that, but only because I could never figure out how to use > dynamic roots. ;) (I have decided to leave them in for a while... :-) > So what will happen if you build Guile without the threading stuff? > Are the thread procedures (e.g., 'make-thread', > 'call-with-new-thread', etc.) simply not made visible? No, all functions will be there, but they wont do much. I.e., you can create mutexes and lock them, but you can't create new threads. > When you say that any thread may enter guile-mode, do you mean that > the prohibition against more than one thread of C code making calls to > Guile's API is being lifted? Yes, this restriction has been lifted already. The remaining restriction is that only threads created by Guile itself are allowed to call Guile. I hope to remove that restriction as well. Also, I hope to make thigns so that any thread can initialize Guile. > Also, let me know if you'd like me to tweak that thread-cancellation > patch I sent in a few months ago to reflect the changes you're talking > about. (Or maybe you'd prefer to write it from scratch yourself?) I'll come back to you about this. Is your patch finished? _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel