Home
last modified time | relevance | path

Searched refs:hMutex (Results 1 – 7 of 7) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/thread/win32/
Dwin_ce_semaphore.c80 hSynch->hMutex = CreateMutex (lpSemaphoreAttributes, FALSE, NULL); in CreateSemaphoreCE()
82 WaitForSingleObject (hSynch->hMutex, INFINITE); in CreateSemaphoreCE()
87 ReleaseMutex (hSynch->hMutex); in CreateSemaphoreCE()
110 WaitForSingleObject (hSemCE->hMutex, INFINITE); in ReleaseSemaphoreCE()
129 ReleaseMutex (hSemCE->hMutex); in ReleaseSemaphoreCE()
140 WaitResult = WaitForSingleObject (hSemCE->hMutex, dwMilliseconds); in WaitForSemaphoreCE()
150 ReleaseMutex (hSemCE->hMutex); in WaitForSemaphoreCE()
169 WaitResult = WaitForSingleObject (hSemCE->hMutex, dwMilliseconds); in WaitForSemaphoreCE()
181 ReleaseMutex (hSemCE->hMutex); in WaitForSemaphoreCE()
191 if (hSynch->hMutex != NULL) Result = Result && CloseHandle (hSynch->hMutex); in CloseSynchHandle()
[all …]
Dwin_ce_semaphore.h5 HANDLE hMutex; member
/external/chromium_org/net/third_party/nss/ssl/
Dsslmutex.c346 HANDLE hMutex; in sslMutex_Init() local
366 if (!pMutex || ((hMutex = pMutex->u.sslMutx) != 0 && in sslMutex_Init()
367 hMutex != INVALID_HANDLE_VALUE)) { in sslMutex_Init()
372 hMutex = CreateMutex(&attributes, FALSE, NULL); in sslMutex_Init()
373 if (hMutex == NULL) { in sslMutex_Init()
374 hMutex = INVALID_HANDLE_VALUE; in sslMutex_Init()
378 pMutex->u.sslMutx = hMutex; in sslMutex_Init()
385 HANDLE hMutex; in sslMutex_Destroy() local
402 if (!pMutex || (hMutex = pMutex->u.sslMutx) == 0 in sslMutex_Destroy()
403 || hMutex == INVALID_HANDLE_VALUE) { in sslMutex_Destroy()
[all …]
/external/chromium_org/third_party/sqlite/src/src/
Dos_win.c114 HANDLE hMutex; /* Mutex used to control access to shared lock */ member
375 pFile->hMutex = CreateMutexW(NULL, FALSE, zName); in winceCreateLock()
376 if (!pFile->hMutex){ in winceCreateLock()
383 winceMutexAcquire(pFile->hMutex); in winceCreateLock()
416 winceMutexRelease(pFile->hMutex); in winceCreateLock()
417 CloseHandle(pFile->hMutex); in winceCreateLock()
418 pFile->hMutex = NULL; in winceCreateLock()
427 winceMutexRelease(pFile->hMutex); in winceCreateLock()
435 if (pFile->hMutex){ in winceDestroyLock()
437 winceMutexAcquire(pFile->hMutex); in winceDestroyLock()
[all …]
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c31249 HANDLE hMutex; /* Mutex used to control access to shared lock */
31509 pFile->hMutex = CreateMutexW(NULL, FALSE, zName);
31510 if (!pFile->hMutex){
31517 winceMutexAcquire(pFile->hMutex);
31550 winceMutexRelease(pFile->hMutex);
31551 CloseHandle(pFile->hMutex);
31552 pFile->hMutex = NULL;
31561 winceMutexRelease(pFile->hMutex);
31569 if (pFile->hMutex){
31571 winceMutexAcquire(pFile->hMutex);
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c32182 HANDLE hMutex; /* Mutex used to control access to shared lock */
33401 pFile->hMutex = osCreateMutexW(NULL, FALSE, zName);
33402 if (!pFile->hMutex){
33410 winceMutexAcquire(pFile->hMutex);
33445 winceMutexRelease(pFile->hMutex);
33446 osCloseHandle(pFile->hMutex);
33447 pFile->hMutex = NULL;
33456 winceMutexRelease(pFile->hMutex);
33464 if (pFile->hMutex){
33466 winceMutexAcquire(pFile->hMutex);
[all …]
/external/sqlite/dist/
Dsqlite3.c32210 HANDLE hMutex; /* Mutex used to control access to shared lock */
33429 pFile->hMutex = osCreateMutexW(NULL, FALSE, zName);
33430 if (!pFile->hMutex){
33438 winceMutexAcquire(pFile->hMutex);
33473 winceMutexRelease(pFile->hMutex);
33474 osCloseHandle(pFile->hMutex);
33475 pFile->hMutex = NULL;
33484 winceMutexRelease(pFile->hMutex);
33492 if (pFile->hMutex){
33494 winceMutexAcquire(pFile->hMutex);
[all …]