Implement a non-blocking Semaphore object option.. #65

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@diranged
Contributor

There are no unit tests for this because the current non-blocking Lock unit tests fail, so I wasn't sure how to do a non-blocking Semaphore unit test. I'm happy to write one, but I'm not really good with unit tests in general so I'm not sure how to do it.

In the mean time, please review this code and let me know what you think.

@diranged diranged referenced this pull request in Nextdoor/ndserviceregistry Mar 27, 2013
Closed

Add 'wait=X' option to lock objects #16

@diranged
Contributor

Any thoughts guys?

@hannosch
Member

I manually cherry-picked the commit and added a test / doc fixes. Thx!

@hannosch hannosch closed this May 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment