Searched refs:work_sem (Results 1 – 1 of 1) sorted by relevance
32 osi_sem_t work_sem; member59 osi_sem_take(&thread->work_sem, OSI_SEM_MAX_TIMEOUT); in osi_thread_run()98 osi_sem_give(&thread->work_sem); in osi_thread_stop()140 ret = osi_sem_new(&thread->work_sem, 1, 0); in osi_thread_create()186 if (thread->work_sem) { in osi_thread_create()187 osi_sem_free(&thread->work_sem); in osi_thread_create()217 if (thread->work_sem) { in osi_thread_free()218 osi_sem_free(&thread->work_sem); in osi_thread_free()250 osi_sem_give(&thread->work_sem); in osi_thread_post()