Home
last modified time | relevance | path

Searched refs:pMutexImpl (Results 1 – 2 of 2) sorted by relevance

/AOO41X/main/sal/osl/w32/
H A Dmutex.c52 oslMutexImpl *pMutexImpl; in osl_createMutex() local
90 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() local
106 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 …]
/AOO41X/main/sal/osl/os2/
H A Dmutex.c50 oslMutexImpl *pMutexImpl; in osl_createMutex() local
54 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() local
78 if (pMutexImpl) in osl_destroyMutex()
80 DosCloseMutexSem( pMutexImpl->m_Mutex); in osl_destroyMutex()
81 free(pMutexImpl); in osl_destroyMutex()
[all …]