Searched refs:MutexLock (Results 1 – 4 of 4) sorted by relevance
/aoo41x/main/sal/osl/os2/ |
H A D | mutex.c | 43 static HMTX MutexLock = 0; variable 66 if (MutexLock == 0) in osl_createMutex() 67 DosCreateMutexSem( NULL, &MutexLock, 0, FALSE ); in osl_createMutex() 94 DosRequestMutexSem( MutexLock, SEM_INDEFINITE_WAIT ); in osl_acquireMutex() 96 DosReleaseMutexSem( MutexLock); in osl_acquireMutex() 100 DosRequestMutexSem( MutexLock, SEM_INDEFINITE_WAIT ); in osl_acquireMutex() 104 DosReleaseMutexSem( MutexLock); in osl_acquireMutex() 118 DosRequestMutexSem( MutexLock, SEM_INDEFINITE_WAIT ); in osl_tryToAcquireMutex() 124 DosReleaseMutexSem( MutexLock); in osl_tryToAcquireMutex() 138 DosRequestMutexSem( MutexLock, SEM_INDEFINITE_WAIT ); in osl_releaseMutex() [all …]
|
H A D | semaphor.c | 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() [all …]
|
H A D | thread.c | 63 static HMTX MutexLock = NULL; variable 167 DosRequestMutexSem( MutexLock, SEM_INDEFINITE_WAIT ); in oslCreateThread() 178 DosReleaseMutexSem( MutexLock); in oslCreateThread() 514 DosReleaseMutexSem( MutexLock); in osl_terminateThread() 540 DosRequestMutexSem( MutexLock, SEM_INDEFINITE_WAIT ); in osl_scheduleThread() 546 DosReleaseMutexSem( MutexLock); in osl_scheduleThread() 577 DosRequestMutexSem( MutexLock, SEM_INDEFINITE_WAIT ); in AddKeyToList() 587 DosReleaseMutexSem( MutexLock); in AddKeyToList() 595 DosRequestMutexSem( MutexLock, SEM_INDEFINITE_WAIT ); in RemoveKeyFromList() 606 DosReleaseMutexSem( MutexLock); in RemoveKeyFromList() [all …]
|
/aoo41x/main/sal/osl/w32/ |
H A D | mutex.c | 45 static CRITICAL_SECTION MutexLock; variable 87 InitializeCriticalSection(&MutexLock); in osl_createMutex() 124 EnterCriticalSection(&MutexLock); in osl_acquireMutex() 126 LeaveCriticalSection(&MutexLock); in osl_acquireMutex() 130 EnterCriticalSection(&MutexLock); in osl_acquireMutex() 134 LeaveCriticalSection(&MutexLock); in osl_acquireMutex() 156 EnterCriticalSection(&MutexLock); in osl_tryToAcquireMutex() 162 LeaveCriticalSection(&MutexLock); in osl_tryToAcquireMutex() 179 EnterCriticalSection(&MutexLock); in osl_releaseMutex() 184 LeaveCriticalSection(&MutexLock); in osl_releaseMutex()
|
Completed in 30 milliseconds