[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Concurrency
From: |
Tom Tromey |
Subject: |
Re: Concurrency |
Date: |
Sun, 28 Mar 2010 15:19:22 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
>>>>> "Davis" == Davis Herring <address@hidden> writes:
>>> (mutex-lock MUTEX)
>>> Acquire a mutex. If already held by this thread, returns.
>>
>> I.e. it's a "recursive/reentrant mutex".
Davis> Hmm -- is it fully recursive, where you must unlock it as many times as
Davis> you locked it? (I don't much care for the semi-recursive kind where one
Davis> unlock is sufficient regardless of the number of lock operations...)
Yeah, it doesn't keep a count. And in addition to this problem,
mutex-unlock has a bug where it can unlock any mutex, not just ones own
by the current thread.
Tom
- Re: Concurrency, (continued)
- Re: Concurrency, Giuseppe Scrivano, 2010/03/29
- Re: Concurrency, Tom Tromey, 2010/03/29
- Re: Concurrency, Stefan Monnier, 2010/03/29
- Re: Concurrency, Ken Raeburn, 2010/03/29
- Re: Concurrency, Stefan Monnier, 2010/03/29
- 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 <=
- Re: Concurrency, Daniel Colascione, 2010/03/28
- 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