Lines Matching defs:pMutex
90 pthread_mutex_t* pMutex; /* for android*/
109 GKI_TRACE_5("gki_task_entry task_id=%i, thread_id=%x/%x, pCond/pMutex=%x/%x", p_pthread_info->task_id,
111 p_pthread_info->pCond, p_pthread_info->pMutex);
219 UINT8 GKI_create_task (TASKPTR task_entry, UINT8 task_id, INT8 *taskname, UINT16 *stack, UINT16 stacksize, void* pCondVar, void* pMutex)
252 GKI_TRACE_3("GKI creating task %i, pCond/pMutex=%x/%x", task_id, pCondVar, pMutex);
263 gki_pthread_info[task_id].pMutex = (pthread_mutex_t*)pMutex;
655 if (p_pthread_info->pCond != NULL && p_pthread_info->pMutex != NULL) {
657 GKI_TRACE_3("GKI_wait task=%i, pCond/pMutex = %x/%x", rtask, p_pthread_info->pCond, p_pthread_info->pMutex);
658 ret = pthread_mutex_lock(p_pthread_info->pMutex);
660 ret = pthread_mutex_unlock(p_pthread_info->pMutex);
661 p_pthread_info->pMutex = NULL;