From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mikael Djurfeldt Newsgroups: gmane.lisp.guile.devel Subject: Re: C level threads... Date: Mon, 02 Dec 2002 09:24:11 +0100 Sender: guile-devel-admin@gnu.org Message-ID: References: <87u1hx437m.fsf@zagadka.ping.de> Reply-To: djurfeldt@nada.kth.se NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1038817758 30458 80.91.224.249 (2 Dec 2002 08:29:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 2 Dec 2002 08:29:18 +0000 (UTC) Cc: guile-devel@gnu.org 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 18Ilx6-0007v5-00 for ; Mon, 02 Dec 2002 09:29:16 +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 18Ilvu-00030v-00; Mon, 02 Dec 2002 03:28:02 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18Ilv8-0002lK-00 for guile-devel@gnu.org; Mon, 02 Dec 2002 03:27:14 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18IlsS-0001Y7-00 for guile-devel@gnu.org; Mon, 02 Dec 2002 03:24:32 -0500 Original-Received: from kvast.blakulla.net ([213.212.20.77]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18IlsQ-00011L-00 for guile-devel@gnu.org; Mon, 02 Dec 2002 03:24:27 -0500 Original-Received: from barbara.blakulla.net ([213.212.21.238] helo=linnaeus) by kvast.blakulla.net with esmtp (Exim 3.36 #1 (Debian)) id 18IlsF-0001hq-00; Mon, 02 Dec 2002 09:24:15 +0100 Original-Received: from mdj by linnaeus with local (Exim 3.36 #1 (Debian)) id 18IlsB-0007CB-00; Mon, 02 Dec 2002 09:24:11 +0100 Original-To: Marius Vollmer Original-Cc: djurfeldt@nada.kth.se In-Reply-To: <87u1hx437m.fsf@zagadka.ping.de> (Marius Vollmer's message of "02 Dec 2002 02:30:37 +0100") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:1768 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1768 Marius Vollmer writes: > Ok, I have documented and implemented the C level thread API (mostly > unchanged from what we had before I deprecated it), Great! But, there are several incompatible changes to the API. I'm concerned with the removal of the second argument in the creation functions. I'd like you to add back this second arg because: 1. The second arg in scm_mutex_init and scm_cond_init contain flags some of which we might want to support in the future. It would feel awkward to have to incomapibly add the second arg again... 2. In my view, we should actively support the second arg in scm_key_create already now. That argument can be downright necessary for some applications. The same probably holds for scm_thread_join. Why not simply conform to the pthreads API in these two cases? 3. I don't find any compelling reason not to stay backward compatible. > The C level API is not pluggable yet, and I have to admit that I > didn't plan for that No big problem, I think, since we can always #define scm_mutex_lock(mx) scm_thread.mutex_lock (mx) Best regards, Mikael _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel