Re: Is semaphore signaling in OpenMCL Threadsafe?
- From: Pascal Bourguignon <pjb@xxxxxxxxxxxxxxxxx>
- Date: Fri, 08 Jul 2005 09:08:24 +0200
"David L. Rager" <ragerdl@xxxxxxxxxxxxx> writes:
> Each semaphore is stored in a global semaphore-alist, where the key is
> the semaphore number. There is a lock to prevent concurrent access to
> this global. The global semaphore alist was reset with all semaphores
> holding values of 0 before execution.
I would trace this alist. Perhaps you have the same semaphore as value
for both key 3 and key 5.
(Irrelevant to your problem:) Why don't you use a vector?
Not much can be said without the sources...
--
__Pascal Bourguignon__ http://www.informatimago.com/
Nobody can fix the economy. Nobody can be trusted with their finger
on the button. Nobody's perfect. VOTE FOR NOBODY.
.
- References:
- Is semaphore signaling in OpenMCL Threadsafe?
- From: David L. Rager
- Is semaphore signaling in OpenMCL Threadsafe?
- Prev by Date: Re: How to create a standalone GNU/Linux binary using SBCL?
- Next by Date: Re: Difference between ' and : symbols
- Previous by thread: Is semaphore signaling in OpenMCL Threadsafe?
- Next by thread: Re: Is semaphore signaling in OpenMCL Threadsafe?
- Index(es):