Home
last modified time | relevance | path

Searched refs:osSemaphoreId (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.5.0/tests/subsys/portability/cmsis_rtos_v1/src/
Dsemaphore.c20 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()
/Zephyr-Core-3.5.0/subsys/portability/cmsis_rtos_v1/
Dcmsis_semaphore.c17 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()
/Zephyr-Core-3.5.0/include/zephyr/portability/
Dcmsis_os.h149 typedef struct os_semaphore_cb *osSemaphoreId; typedef
512 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);
/Zephyr-Core-3.5.0/samples/subsys/portability/cmsis_rtos_v1/philosophers/src/
Dphil_obj_abstract.h45 #define fork_t osSemaphoreId
Dmain.c70 osSemaphoreId forks[NUM_PHIL];