Searched refs:tokens_available (Results 1 – 1 of 1) sorted by relevance
17 int tokens_available; in thread_sema() local20 tokens_available = osSemaphoreWait((osSemaphoreId)arg, 0); in thread_sema()21 zassert_true(tokens_available == 0, in thread_sema()25 tokens_available = osSemaphoreWait((osSemaphoreId)arg, TIMEOUT - 100); in thread_sema()26 zassert_true(tokens_available == 0, in thread_sema()37 tokens_available = osSemaphoreWait((osSemaphoreId)arg, 0); in thread_sema()38 zassert_true(tokens_available > 0); in thread_sema()