Wizcorp / locks

Mutex locks, Read/Write locks, Condition variables and Semaphores in JavaScript
105 stars 19 forks source link

Mutex: timed lock error. #2

Closed jordan-ayers closed 10 years ago

jordan-ayers commented 10 years ago

I found that the timed_lock request was sometimes issuing a success callback, but unlocking the Mutex. The problem only occurs when the _waiting handler is called before the timeout expires.

ronkorving commented 10 years ago

Excellent, that works for me. Thanks for the contribution!