Searched refs:osSemaphoreId (Results 1 – 5 of 5) sorted by relevance
20 tokens_available = osSemaphoreWait((osSemaphoreId)arg, 0); in thread_sema()25 tokens_available = osSemaphoreWait((osSemaphoreId)arg, TIMEOUT - 100); in thread_sema()37 tokens_available = osSemaphoreWait((osSemaphoreId)arg, 0); in thread_sema()40 zassert_true(osSemaphoreRelease((osSemaphoreId)arg) == osOK, in thread_sema()44 zassert_true(osSemaphoreRelease((osSemaphoreId)arg) == osErrorResource, in thread_sema()54 osSemaphoreId semaphore_id; in ZTEST()
17 osSemaphoreId osSemaphoreCreate(const osSemaphoreDef_t *semaphore_def, in osSemaphoreCreate()39 return (osSemaphoreId)semaphore; in osSemaphoreCreate()45 int32_t osSemaphoreWait(osSemaphoreId semaphore_id, uint32_t timeout) in osSemaphoreWait()82 osStatus osSemaphoreRelease(osSemaphoreId semaphore_id) in osSemaphoreRelease()103 osStatus osSemaphoreDelete(osSemaphoreId semaphore_id) in osSemaphoreDelete()
149 typedef struct os_semaphore_cb *osSemaphoreId; typedef512 osSemaphoreId osSemaphoreCreate (const osSemaphoreDef_t *semaphore_def, int32_t count);519 int32_t osSemaphoreWait (osSemaphoreId semaphore_id, uint32_t millisec);525 osStatus osSemaphoreRelease (osSemaphoreId semaphore_id);531 osStatus osSemaphoreDelete (osSemaphoreId semaphore_id);
45 #define fork_t osSemaphoreId
70 osSemaphoreId forks[NUM_PHIL];