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: [pthreads] performance test using fib.scm Date: Wed, 11 Dec 2002 08:11:50 +0100 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: <20021210211010.GB355@gmx.de> <20021210210220.A24388@noisehavoc.org> 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 1039591065 22068 80.91.224.249 (11 Dec 2002 07:17:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 11 Dec 2002 07:17:45 +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 18M17j-0005jQ-00 for ; Wed, 11 Dec 2002 08:17:39 +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 18M12t-0004RS-03 for guile-devel@m.gmane.org; Wed, 11 Dec 2002 02:12:39 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18M12V-0004R1-00 for guile-devel@gnu.org; Wed, 11 Dec 2002 02:12:15 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18M12R-0004QQ-00 for guile-devel@gnu.org; Wed, 11 Dec 2002 02:12:14 -0500 Original-Received: from kvast.blakulla.net ([213.212.20.77]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18M12R-0004Ol-00 for guile-devel@gnu.org; Wed, 11 Dec 2002 02:12:11 -0500 Original-Received: from dyna224-224.nada.kth.se ([130.237.224.224] helo=linnaeus) by kvast.blakulla.net with esmtp (Exim 3.36 #1 (Debian)) id 18M129-0002i5-00; Wed, 11 Dec 2002 08:11:53 +0100 Original-Received: from mdj by linnaeus with local (Exim 3.36 #1 (Debian)) id 18M127-0000pp-00; Wed, 11 Dec 2002 08:11:51 +0100 Original-To: Maciej Stachowiak In-Reply-To: <20021210210220.A24388@noisehavoc.org> (Maciej Stachowiak's message of "Tue, 10 Dec 2002 21:02:20 -0800") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) Original-cc: Ulrich Drepper Original-cc: djurfeldt@nada.kth.se Original-cc: Wolfgang Jaehrling X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:1817 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1817 Maciej Stachowiak writes: > On 10Dec2002 10:10PM (+0100), Wolfgang Jaehrling wrote: >> malloc() in glibc is thread-save, but not reentrant. Since the >> behaviour of realloc() is unlikely to differ from malloc() in this >> respect, you most certainly have to protect calls to it with a lock. >> > > Huh? Doesn't malloc do it's own locking when modifying global data > structures? This is what I would have expected. Can someone please verify that malloc is reentrant? Best regards, Mikael D. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel