[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Concurrency
From: |
Daniel Colascione |
Subject: |
Re: Concurrency |
Date: |
Sun, 28 Mar 2010 17:22:30 -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 |
-----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-----
- Re: Concurrency, (continued)
- Re: Concurrency, Ken Raeburn, 2010/03/29
- Re: Concurrency, Tom Tromey, 2010/03/29
- Re: Concurrency, Stefan Monnier, 2010/03/29
- Re: Concurrency, Giuseppe Scrivano, 2010/03/29
- Re: Concurrency, Stefan Monnier, 2010/03/29
- Re: Concurrency, Tom Tromey, 2010/03/28
- Re: Concurrency,
Daniel Colascione <=
- Re: Concurrency, Stefan Monnier, 2010/03/28
- Re: Concurrency, Tom Tromey, 2010/03/28
- Re: Concurrency, Tom Tromey, 2010/03/28
- Re: Concurrency, Ken Raeburn, 2010/03/29
- Re: Concurrency, Tom Tromey, 2010/03/29
- Re: Concurrency, Stefan Monnier, 2010/03/29
- gsoc for concurrent Emacs? (was: Concurrency), Ted Zlatanov, 2010/03/31
- Re: Concurrency, Giuseppe Scrivano, 2010/03/28
- Re: Concurrency, Daniel Colascione, 2010/03/28
- Re: Concurrency, Tom Tromey, 2010/03/28