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

wants to merge 1 commit into


None yet

2 participants


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

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


Any thoughts guys?


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