Lines Matching defs:pMutex
89 pthread_mutex_t* pMutex; /* for android*/
108 GKI_TRACE_5("gki_task_entry task_id=%i, thread_id=%x/%x, pCond/pMutex=%x/%x", p_pthread_info->task_id,
110 p_pthread_info->pCond, p_pthread_info->pMutex);
218 UINT8 GKI_create_task (TASKPTR task_entry, UINT8 task_id, INT8 *taskname, UINT16 *stack, UINT16 stacksize, void* pCondVar, void* pMutex)
254 GKI_TRACE_3("GKI creating task %i, pCond/pMutex=%x/%x", task_id, pCondVar, pMutex);
265 gki_pthread_info[task_id].pMutex = (pthread_mutex_t*)pMutex;
657 if (p_pthread_info->pCond != NULL && p_pthread_info->pMutex != NULL) {
659 GKI_TRACE_3("GKI_wait task=%i, pCond/pMutex = %x/%x", rtask, p_pthread_info->pCond, p_pthread_info->pMutex);
660 ret = pthread_mutex_lock(p_pthread_info->pMutex);
662 ret = pthread_mutex_unlock(p_pthread_info->pMutex);
663 p_pthread_info->pMutex = NULL;