Semaphore

In reply to dave_59:
there is try_get() API in semaphore. do u mean that i use it?