Lines Matching defs:pMutex
87 pthread_mutex_t* pMutex; /* for android*/
104 GKI_TRACE_5("gki_task_entry task_id=%i, thread_id=%x/%x, pCond/pMutex=%x/%x", p_pthread_info->task_id,
106 p_pthread_info->pCond, p_pthread_info->pMutex);
214 UINT8 GKI_create_task (TASKPTR task_entry, UINT8 task_id, INT8 *taskname, UINT16 *stack, UINT16 stacksize, void* pCondVar, void* pMutex)
250 GKI_TRACE_3("GKI creating task %i, pCond/pMutex=%x/%x", task_id, pCondVar, pMutex);
261 gki_pthread_info[task_id].pMutex = (pthread_mutex_t*)pMutex;
633 if (p_pthread_info->pCond != NULL && p_pthread_info->pMutex != NULL) {
635 GKI_TRACE_3("GKI_wait task=%i, pCond/pMutex = %x/%x", rtask, p_pthread_info->pCond, p_pthread_info->pMutex);
636 ret = pthread_mutex_lock(p_pthread_info->pMutex);
638 ret = pthread_mutex_unlock(p_pthread_info->pMutex);
639 p_pthread_info->pMutex = NULL;