Searched refs:MutexLock (Results 1 – 4 of 4) sorted by relevance
/aoo42x/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 | 61 static HMTX MutexLock = NULL; variable 161 DosRequestMutexSem( MutexLock, SEM_INDEFINITE_WAIT ); in oslCreateThread() 172 DosReleaseMutexSem( MutexLock); in oslCreateThread() 508 DosReleaseMutexSem( MutexLock); in osl_terminateThread() 534 DosRequestMutexSem( MutexLock, SEM_INDEFINITE_WAIT ); in osl_scheduleThread() 540 DosReleaseMutexSem( MutexLock); in osl_scheduleThread() 571 DosRequestMutexSem( MutexLock, SEM_INDEFINITE_WAIT ); in AddKeyToList() 581 DosReleaseMutexSem( MutexLock); in AddKeyToList() 589 DosRequestMutexSem( MutexLock, SEM_INDEFINITE_WAIT ); in RemoveKeyFromList() 600 DosReleaseMutexSem( MutexLock); in RemoveKeyFromList() [all …]
|
/aoo42x/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 17 milliseconds