From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Julian Graham" Newsgroups: gmane.lisp.guile.devel Subject: Re: srfi-18 requirements Date: Sat, 22 Mar 2008 14:55:24 -0400 Message-ID: <2bc5f8210803221155h54a6bd47h8df5812fca7b568f@mail.gmail.com> References: <2bc5f8210710101854m1254160ei451026182b87e767@mail.gmail.com> <2bc5f8210802191810v729d8fa5jec070d3ee4358493@mail.gmail.com> <87r6f5zv6t.fsf@ossau.uklinux.net> <2bc5f8210802212014o45a9c79dpd688f11726a1e159@mail.gmail.com> <87ir0e1yka.fsf@ossau.uklinux.net> <2bc5f8210802241017o46468365j33c329a069d96d33@mail.gmail.com> <873ariaq82.fsf@ossau.uklinux.net> <2bc5f8210803011156i3bfb976bsda2a7902654ba3a6@mail.gmail.com> <87bq5pb2ea.fsf@ossau.uklinux.net> <2bc5f8210803102102p31da06b5jfa7807bb727907a7@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206212151 16388 80.91.229.12 (22 Mar 2008 18:55:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2008 18:55:51 +0000 (UTC) Cc: =?ISO-8859-1?Q?Ludovic_Court=E8s?= , guile-devel@gnu.org To: "Neil Jerram" Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Mar 22 19:56:20 2008 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jd8t4-0006CD-RK for guile-devel@m.gmane.org; Sat, 22 Mar 2008 19:56:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jd8sU-00087Q-9V for guile-devel@m.gmane.org; Sat, 22 Mar 2008 14:55:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jd8sO-000871-6X for guile-devel@gnu.org; Sat, 22 Mar 2008 14:55:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jd8sL-00086c-O2 for guile-devel@gnu.org; Sat, 22 Mar 2008 14:55:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jd8sL-00086Z-IW for guile-devel@gnu.org; Sat, 22 Mar 2008 14:55:29 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.156]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jd8sL-0004cg-Av for guile-devel@gnu.org; Sat, 22 Mar 2008 14:55:29 -0400 Original-Received: by fg-out-1718.google.com with SMTP id d23so1942839fga.30 for ; Sat, 22 Mar 2008 11:55:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=HiwqIP4/8vR502s6Gb3fNnaF6Uyux/sBTXchKujL9CQ=; b=erExeXzyhrSpzYHIHkXjz4p3WLX1wjrdz4ANK4iph8+10oMPs2y25UovLY0lfk2J3lGGEFnmuexb8GCvSWE0LvVVjHu1bB1VIMa7OLLcJENdOLSYm3dr1hJZTntM80PUiB71H9U3SVlkdB2IH4CU/fwLyT8p33D7DROrFeygdqQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UpanE9DTyc6halSSBMWcPMm1MatCiVUBOOvTcwtdtIFjQviAe4rsLPm1lgfaxiTbL9iwh++4FGLSbL7V9I1Ry5o+Yj5Ns50y3x2VvH5GP4A5bjX9Tc95VXClVdjgSAhZVWfEpTDbpPQw6LdV7b6/3OdV46V5Mugiiag4X+9Imzg= Original-Received: by 10.82.146.10 with SMTP id t10mr11616858bud.6.1206212124177; Sat, 22 Mar 2008 11:55:24 -0700 (PDT) Original-Received: by 10.82.166.7 with HTTP; Sat, 22 Mar 2008 11:55:24 -0700 (PDT) In-Reply-To: <2bc5f8210803102102p31da06b5jfa7807bb727907a7@mail.gmail.com> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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: news.gmane.org gmane.lisp.guile.devel:7087 Archived-At: Any updates on this? I know you guys are busy with the repository, but I'm pretty close to having the Scheme implementation for SRFI-18 finished. Like I said, I think enabling scm_mutex_owner would allow me to proceed, but I don't want to un-ifdef it without knowing why it was disabled in the first place (the ChangeLogs don't shed any light on the matter). (From a theoretical standpoint, I don't see a problem with the existence of something like scm_mutex_owner. The man page for pthread_mutex_lock claims that it's not part of the pthreads spec because it could cause an unacceptable performance hit, but it's pretty clear from playing around with gdb that Linux's pthreads implementation stores the requisite information...) > Speaking of which, though, I've already run into some difficulty > implementing mutex-state -- the solution you proposed earlier depends > on mutex-owner being visible to Scheme code (it's not, at the moment), > and I can't figure out how to write mutex-state efficiently without it > (or some other way of passively inspecting the mutex). Any > suggestions would be appreciated!