Lines Matching refs:MutexLock
42 static HMTX MutexLock = NULL; variable
76 if (MutexLock == NULL) in osl_createSemaphore()
77 DosCreateMutexSem( NULL, &MutexLock, 0, FALSE ); in osl_createSemaphore()
115 DosRequestMutexSem( MutexLock, SEM_INDEFINITE_WAIT ); in osl_acquireSemaphore()
121 DosReleaseMutexSem( MutexLock); in osl_acquireSemaphore()
126 DosRequestMutexSem( MutexLock, SEM_INDEFINITE_WAIT ); in osl_acquireSemaphore()
130 DosReleaseMutexSem( MutexLock); in osl_acquireSemaphore()
149 DosRequestMutexSem( MutexLock, SEM_INDEFINITE_WAIT ); in osl_tryToAcquireSemaphore()
155 DosReleaseMutexSem( MutexLock); in osl_tryToAcquireSemaphore()
173 DosRequestMutexSem( MutexLock, SEM_INDEFINITE_WAIT ); in osl_releaseSemaphore()
178 DosReleaseMutexSem( MutexLock); in osl_releaseSemaphore()