From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: Concurrency Date: Sun, 28 Mar 2010 17:22:30 -0400 Organization: Censorship Research Center Message-ID: <4BAFC896.9060405@censorshipresearch.org> References: <27349166.post@talk.nabble.com> <27560255.post@talk.nabble.com> <4B754E74.8060705@swipnet.se> <27563610.post@talk.nabble.com> <4B7564C7.1010309@swipnet.se> <27564728.post@talk.nabble.com> <4B756FB7.3050202@swipnet.se> <87k4ui4gik.fsf@lola.goethe.zz> <27566385.post@talk.nabble.com> <87wryi2sjd.fsf@lola.goethe.zz> <27585994.post@talk.nabble.com> <87k4ucdmwh.fsf@stupidchicken.com> <87d3zweq4e.fsf@master.homenet> <87y6hg1h4a.fsf@thor.thematica.it> <87tys3j9fa.fsf@lifelogs.com> <87eij6tqmu.fsf@lifelogs.com> <49707.130.55.132.67.1269807922.squirrel@webmail.lanl.gov> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1269811379 14998 80.91.229.12 (28 Mar 2010 21:22:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 28 Mar 2010 21:22:59 +0000 (UTC) Cc: Tom Tromey , Ted Zlatanov , Stefan Monnier , emacs-devel@gnu.org To: herring@lanl.gov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 28 23:22:54 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nvzwb-0002d0-GI for ged-emacs-devel@m.gmane.org; Sun, 28 Mar 2010 23:22:53 +0200 Original-Received: from localhost ([127.0.0.1]:54065 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nvzwa-00085l-V3 for ged-emacs-devel@m.gmane.org; Sun, 28 Mar 2010 17:22:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NvzwW-00085g-FP for emacs-devel@gnu.org; Sun, 28 Mar 2010 17:22:48 -0400 Original-Received: from [140.186.70.92] (port=34448 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NvzwU-00085V-8Q for emacs-devel@gnu.org; Sun, 28 Mar 2010 17:22:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NvzwR-0002tg-Cq for emacs-devel@gnu.org; Sun, 28 Mar 2010 17:22:46 -0400 Original-Received: from haystack.austinheap.com ([70.32.98.68]:42895 helo=haystacknetwork.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NvzwR-0002tE-Ad for emacs-devel@gnu.org; Sun, 28 Mar 2010 17:22:43 -0400 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 In-Reply-To: <49707.130.55.132.67.1269807922.squirrel@webmail.lanl.gov> X-Enigmail-Version: 1.0.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:122828 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/28/10 4:25 PM, Davis Herring wrote: >>> (mutex-lock MUTEX) >>> Acquire a mutex. If already held by this thread, returns. >> >> I.e. it's a "recursive/reentrant mutex". > > Hmm -- is it fully recursive, where you must unlock it as many times as > you locked it? (I don't much care for the semi-recursive kind where one > unlock is sufficient regardless of the number of lock operations...) > > Davis > It really shouldn't be recursive at all: http://www.zaval.org/resources/library/butenhof1.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) iEYEARECAAYFAkuvyJYACgkQ17c2LVA10VsB3QCdHyXXPK9JMkbnDYqslY/TnBBY 6rcAoMr8ZlIpRGutZKa9mDGVzABJJZ3G =0TRS -----END PGP SIGNATURE-----