Searched refs:pMutexImpl (Results 1 – 2 of 2) sorted by relevance
52 oslMutexImpl *pMutexImpl; in osl_createMutex() local90 pMutexImpl= calloc(sizeof(oslMutexImpl), 1); in osl_createMutex()92 OSL_ASSERT(pMutexImpl); /* alloc successful? */ in osl_createMutex()94 InitializeCriticalSection(&pMutexImpl->m_Mutex); in osl_createMutex()96 return (oslMutex)pMutexImpl; in osl_createMutex()104 oslMutexImpl *pMutexImpl = (oslMutexImpl *)Mutex; in osl_destroyMutex() local106 if (pMutexImpl) in osl_destroyMutex()108 DeleteCriticalSection(&pMutexImpl->m_Mutex); in osl_destroyMutex()109 free(pMutexImpl); in osl_destroyMutex()118 oslMutexImpl *pMutexImpl = (oslMutexImpl *)Mutex; in osl_acquireMutex() local[all …]
50 oslMutexImpl *pMutexImpl; in osl_createMutex() local54 pMutexImpl= (oslMutexImpl*)calloc(sizeof(oslMutexImpl), 1); in osl_createMutex()55 OSL_ASSERT(pMutexImpl); /* alloc successful? */ in osl_createMutex()58 rc = DosCreateMutexSem( NULL, &pMutexImpl->m_Mutex, 0, FALSE ); in osl_createMutex()61 free(pMutexImpl); in osl_createMutex()69 return (oslMutex)pMutexImpl; in osl_createMutex()77 oslMutexImpl *pMutexImpl = (oslMutexImpl *)Mutex; in osl_destroyMutex() local78 if (pMutexImpl) in osl_destroyMutex()80 DosCloseMutexSem( pMutexImpl->m_Mutex); in osl_destroyMutex()81 free(pMutexImpl); in osl_destroyMutex()[all …]