Home
last modified time | relevance | path

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

/aoo42x/main/sal/osl/w32/
H A Dmutex.c52 oslMutexImpl *pMutexImpl; in osl_createMutex() local
90 pMutexImpl= calloc(sizeof(oslMutexImpl), 1); in osl_createMutex()
96 return (oslMutex)pMutexImpl; in osl_createMutex()
106 if (pMutexImpl) in osl_destroyMutex()
109 free(pMutexImpl); in osl_destroyMutex()
125 pMutexImpl->m_Requests++; in osl_acquireMutex()
131 pMutexImpl->m_Requests--; in osl_acquireMutex()
132 if (pMutexImpl->m_Locks++ == 0) in osl_acquireMutex()
158 if ( ((pMutexImpl->m_Requests == 0) && (pMutexImpl->m_Locks == 0)) || in osl_tryToAcquireMutex()
181 if (--(pMutexImpl->m_Locks) == 0) in osl_releaseMutex()
[all …]
/aoo42x/main/sal/osl/os2/
H A Dmutex.c50 oslMutexImpl *pMutexImpl; in osl_createMutex() local
61 free(pMutexImpl); in osl_createMutex()
69 return (oslMutex)pMutexImpl; in osl_createMutex()
78 if (pMutexImpl) in osl_destroyMutex()
81 free(pMutexImpl); in osl_destroyMutex()
95 pMutexImpl->m_Requests++; in osl_acquireMutex()
101 pMutexImpl->m_Requests--; in osl_acquireMutex()
102 if (pMutexImpl->m_Locks++ == 0) in osl_acquireMutex()
103 pMutexImpl->m_Owner = _gettid(); in osl_acquireMutex()
120 if ( ((pMutexImpl->m_Requests == 0) && (pMutexImpl->m_Locks == 0)) || in osl_tryToAcquireMutex()
[all …]

Completed in 18 milliseconds