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: Thread interface issues (was Re: C level mutices and condition variables) Date: 22 Nov 2002 22:27:25 +0100 Sender: guile-devel-admin@gnu.org Message-ID: <877kf5fg76.fsf@zagadka.ping.de> References: <87vg3pot7a.fsf@zagadka.ping.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1038000838 16329 80.91.224.249 (22 Nov 2002 21:33:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 22 Nov 2002 21:33:58 +0000 (UTC) Cc: guile-devel@gnu.org, djurfeldt@nada.kth.se 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 18FLQy-0004FB-00 for ; Fri, 22 Nov 2002 22:33:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18FLLK-0008U4-00; Fri, 22 Nov 2002 16:28:06 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18FLKa-0007ou-00 for guile-devel@gnu.org; Fri, 22 Nov 2002 16:27:20 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18FLKY-0007mv-00 for guile-devel@gnu.org; Fri, 22 Nov 2002 16:27:19 -0500 Original-Received: from mail.dokom.net ([195.253.8.218]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18FLKY-0007mr-00 for guile-devel@gnu.org; Fri, 22 Nov 2002 16:27:18 -0500 Original-Received: from dialin.speedway42.dip210.dokom.de ([195.138.42.210] helo=zagadka.ping.de ident=qmailr) by mail.dokom.net with smtp (Exim 3.32 #2) id 18FLLd-0000Ph-00 for guile-devel@gnu.org; Fri, 22 Nov 2002 22:28:25 +0100 Original-Received: (qmail 10994 invoked by uid 1000); 22 Nov 2002 21:27:25 -0000 Original-To: Neil Jerram In-Reply-To: Original-Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 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:1742 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1742 Neil Jerram writes: > Given the renewed discussion, could we not have both > > - a low level, implementation-dependent scm_t_mutex, with no fairness > guarantees, that is as native as possible w.r.t. the thread impl > > - fair SCM mutexes built on top of scm_t_mutex. Yep, I think this is the way to go. When I find some time, I'll revert the deprecation of scm_t_mutex etc and document that API in addition to the Scheme API. I will make it so that when we use pthreads, there wont be any overhead whatsoever when using scm_t_mutex (compared to using pthreads directly). Mikael, when you want to work on this yourself, that would be great. Just tell me briefly. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel