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: pthread fast mutexes Date: Sat, 20 Mar 2004 23:51:09 +0100 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87d677nndu.fsf@zagadka.ping.de> References: <87ishxv6m5.fsf@zip.com.au> <87wu6dtohe.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079823192 13130 80.91.224.253 (20 Mar 2004 22:53:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 20 Mar 2004 22:53:12 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Mar 20 23:53:08 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B4pL2-0007vd-00 for ; Sat, 20 Mar 2004 23:53:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4pJt-0008Lz-RO for guile-devel@m.gmane.org; Sat, 20 Mar 2004 17:51:57 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B4pJo-0008LD-Qi for guile-devel@gnu.org; Sat, 20 Mar 2004 17:51:52 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B4pJD-0007mm-5R for guile-devel@gnu.org; Sat, 20 Mar 2004 17:51:47 -0500 Original-Received: from [195.253.8.218] (helo=mail.dokom.net) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4pJC-0007mX-Qy for guile-devel@gnu.org; Sat, 20 Mar 2004 17:51:14 -0500 Original-Received: from dialin.speedway15.dip57.dokom.de ([195.253.15.57] helo=zagadka.ping.de) by mail.dokom.net with smtp (Exim 3.36 #3) id 1B4pKv-0002F7-00 for guile-devel@gnu.org; Sat, 20 Mar 2004 23:53:01 +0100 Original-Received: (qmail 3930 invoked by uid 1000); 20 Mar 2004 22:51:09 -0000 Original-To: djurfeldt@nada.kth.se In-Reply-To: (Mikael Djurfeldt's message of "Mon, 23 Feb 2004 20:17:23 -0500") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3542 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3542 Mikael Djurfeldt writes: > Since that is a little tricky (would probably need an extra mutex or > condition variable to implement it), it might be better to simply use > error checking mutexes. Yep. We shouldn't allow the program to crash by unlocking a unlocked mutex. -- 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