Lines Matching refs:cond_var_handle
100 cond_var_handle_t *cond_var_handle = 0; in osal_cond_var_create() local
110 cond_var_handle = handle->alloc(mmr_handle, sizeof(cond_var_handle_t)); in osal_cond_var_create()
113 if(0 == cond_var_handle) in osal_cond_var_create()
116 cond_var_handle->mmr_handle = mmr_handle; in osal_cond_var_create()
117 cond_var_handle->hdl = handle; in osal_cond_var_create()
120 if(0 != pthread_cond_init(&(cond_var_handle->cond_var), 0)) in osal_cond_var_create()
122 handle->free(mmr_handle, cond_var_handle); in osal_cond_var_create()
126 return cond_var_handle; in osal_cond_var_create()
158 WORD32 osal_cond_var_destroy(IN void *cond_var_handle) in osal_cond_var_destroy() argument
160 if(0 == cond_var_handle) in osal_cond_var_destroy()
164 cond_var_handle_t *handle = (cond_var_handle_t *)cond_var_handle; in osal_cond_var_destroy()
210 WORD32 osal_cond_var_wait(IN void *cond_var_handle, IN void *mutex_handle) in osal_cond_var_wait() argument
212 if(0 == cond_var_handle || 0 == mutex_handle) in osal_cond_var_wait()
217 cond_var_handle_t *cond_var = (cond_var_handle_t *)cond_var_handle; in osal_cond_var_wait()
250 WORD32 osal_cond_var_signal(IN void *cond_var_handle) in osal_cond_var_signal() argument
252 if(0 == cond_var_handle) in osal_cond_var_signal()
256 cond_var_handle_t *cond_var = (cond_var_handle_t *)cond_var_handle; in osal_cond_var_signal()