/dports/net/ntp/ntp-4.2.8p15/lib/isc/win32/include/isc/ |
H A D | thread.h | 39 return ((dwWaitResult >= WAIT_OBJECT_0) && in WaitSucceeded() 40 (dwWaitResult < WAIT_OBJECT_0 + dwHandleCount)); in WaitSucceeded() 44 return ((dwWaitResult >= WAIT_ABANDONED_0) && in WaitAbandoned() 48 inline BOOL WaitTimeout( DWORD dwWaitResult) { in WaitTimeout() argument 49 return (dwWaitResult == WAIT_TIMEOUT); in WaitTimeout() 52 inline BOOL WaitFailed( DWORD dwWaitResult) { in WaitFailed() argument 53 return (dwWaitResult == WAIT_FAILED); in WaitFailed() 57 inline DWORD WaitSucceededIndex( DWORD dwWaitResult) { in WaitSucceededIndex() argument 58 return (dwWaitResult - WAIT_OBJECT_0); in WaitSucceededIndex() 61 inline DWORD WaitAbandonedIndex( DWORD dwWaitResult) { in WaitAbandonedIndex() argument [all …]
|
/dports/dns/bind-tools/bind-9.16.27/lib/isc/win32/include/isc/ |
H A D | thread.h | 38 return ((dwWaitResult >= WAIT_OBJECT_0) && in WaitSucceeded() 39 (dwWaitResult < WAIT_OBJECT_0 + dwHandleCount)); in WaitSucceeded() 44 return ((dwWaitResult >= WAIT_ABANDONED_0) && in WaitAbandoned() 49 WaitTimeout(DWORD dwWaitResult) { in WaitTimeout() argument 50 return (dwWaitResult == WAIT_TIMEOUT); in WaitTimeout() 54 WaitFailed(DWORD dwWaitResult) { in WaitFailed() argument 55 return (dwWaitResult == WAIT_FAILED); in WaitFailed() 60 WaitSucceededIndex(DWORD dwWaitResult) { in WaitSucceededIndex() argument 61 return (dwWaitResult - WAIT_OBJECT_0); in WaitSucceededIndex() 65 WaitAbandonedIndex(DWORD dwWaitResult) { in WaitAbandonedIndex() argument [all …]
|
/dports/dns/bind916/bind-9.16.27/lib/isc/win32/include/isc/ |
H A D | thread.h | 38 return ((dwWaitResult >= WAIT_OBJECT_0) && in WaitSucceeded() 39 (dwWaitResult < WAIT_OBJECT_0 + dwHandleCount)); in WaitSucceeded() 44 return ((dwWaitResult >= WAIT_ABANDONED_0) && in WaitAbandoned() 49 WaitTimeout(DWORD dwWaitResult) { in WaitTimeout() argument 50 return (dwWaitResult == WAIT_TIMEOUT); in WaitTimeout() 54 WaitFailed(DWORD dwWaitResult) { in WaitFailed() argument 55 return (dwWaitResult == WAIT_FAILED); in WaitFailed() 60 WaitSucceededIndex(DWORD dwWaitResult) { in WaitSucceededIndex() argument 61 return (dwWaitResult - WAIT_OBJECT_0); in WaitSucceededIndex() 65 WaitAbandonedIndex(DWORD dwWaitResult) { in WaitAbandonedIndex() argument [all …]
|
/dports/dns/samba-nsupdate/bind-9.16.5/lib/isc/win32/include/isc/ |
H A D | thread.h | 33 return ((dwWaitResult >= WAIT_OBJECT_0) && in WaitSucceeded() 34 (dwWaitResult < WAIT_OBJECT_0 + dwHandleCount)); in WaitSucceeded() 39 return ((dwWaitResult >= WAIT_ABANDONED_0) && in WaitAbandoned() 44 WaitTimeout(DWORD dwWaitResult) { in WaitTimeout() argument 45 return (dwWaitResult == WAIT_TIMEOUT); in WaitTimeout() 49 WaitFailed(DWORD dwWaitResult) { in WaitFailed() argument 50 return (dwWaitResult == WAIT_FAILED); in WaitFailed() 55 WaitSucceededIndex(DWORD dwWaitResult) { in WaitSucceededIndex() argument 56 return (dwWaitResult - WAIT_OBJECT_0); in WaitSucceededIndex() 60 WaitAbandonedIndex(DWORD dwWaitResult) { in WaitAbandonedIndex() argument [all …]
|
/dports/dns/bind911/bind-9.11.37/lib/isc/win32/include/isc/ |
H A D | thread.h | 32 return ((dwWaitResult >= WAIT_OBJECT_0) && in WaitSucceeded() 33 (dwWaitResult < WAIT_OBJECT_0 + dwHandleCount)); in WaitSucceeded() 37 return ((dwWaitResult >= WAIT_ABANDONED_0) && in WaitAbandoned() 41 inline BOOL WaitTimeout( DWORD dwWaitResult) { in WaitTimeout() argument 42 return (dwWaitResult == WAIT_TIMEOUT); in WaitTimeout() 45 inline BOOL WaitFailed( DWORD dwWaitResult) { in WaitFailed() argument 46 return (dwWaitResult == WAIT_FAILED); in WaitFailed() 50 inline DWORD WaitSucceededIndex( DWORD dwWaitResult) { in WaitSucceededIndex() argument 51 return (dwWaitResult - WAIT_OBJECT_0); in WaitSucceededIndex() 54 inline DWORD WaitAbandonedIndex( DWORD dwWaitResult) { in WaitAbandonedIndex() argument [all …]
|
/dports/net/megacmd/MEGAcmd-1.4.1_Win/sdk/src/win32/ |
H A D | waiter.cpp | 69 …DWORD dwWaitResult = WaitForMultipleObjectsEx((DWORD)index, &handles.front(), FALSE, maxds * 100, … in wait() local 70 assert(dwWaitResult != WAIT_FAILED); in wait() 73 if (dwWaitResult == WAIT_TIMEOUT && maxds > 0) ++performanceStats.waitTimedoutNonzero; in wait() 74 else if (dwWaitResult == WAIT_TIMEOUT && maxds == 0) ++performanceStats.waitTimedoutZero; in wait() 75 else if (dwWaitResult == WAIT_IO_COMPLETION) ++performanceStats.waitIOCompleted; in wait() 76 else if (dwWaitResult >= WAIT_OBJECT_0) ++performanceStats.waitSignalled; in wait() 79 …if ((dwWaitResult == WAIT_TIMEOUT) || (dwWaitResult == WAIT_IO_COMPLETION) || maxds == 0 || (dwWai… in wait() 83 if ((dwWaitResult >= WAIT_OBJECT_0) && (dwWaitResult < WAIT_OBJECT_0 + flags.size())) in wait() 85 r |= flags[dwWaitResult - WAIT_OBJECT_0]; in wait()
|
/dports/misc/visp/visp-3.4.0/modules/core/include/visp3/core/ |
H A D | vpMutex.h | 100 DWORD dwWaitResult; in lock() 102 dwWaitResult = WaitForSingleObjectEx(m_mutex, INFINITE, FALSE); in lock() 104 dwWaitResult = WaitForSingleObject(m_mutex, // handle to mutex in lock() 107 if (dwWaitResult == WAIT_FAILED) in lock()
|
/dports/mail/libetpan/libetpan-1.9.4/src/data-types/ |
H A D | mailsem.c | 215 DWORD dwWaitResult = WAIT_TIMEOUT; in mailsem_internal_wait() local 217 while (dwWaitResult != WAIT_OBJECT_0 && dwWaitResult != WAIT_FAILED){ in mailsem_internal_wait() 218 dwWaitResult = WaitForSingleObject( in mailsem_internal_wait() 223 return dwWaitResult == WAIT_FAILED ? -1 : 0; in mailsem_internal_wait()
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/vr/ |
H A D | gfxVRMutex.h | 19 DWORD dwWaitResult; in WaitForMutex() local 20 dwWaitResult = WaitForSingleObject(mHandle, // handle to mutex in WaitForMutex() 23 switch (dwWaitResult) { in WaitForMutex()
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/vr/ |
H A D | gfxVRMutex.h | 19 DWORD dwWaitResult; in WaitForMutex() local 20 dwWaitResult = WaitForSingleObject(mHandle, // handle to mutex in WaitForMutex() 23 switch (dwWaitResult) { in WaitForMutex()
|
/dports/www/firefox/firefox-99.0/gfx/vr/ |
H A D | gfxVRMutex.h | 23 DWORD dwWaitResult; in WaitForMutex() local 24 dwWaitResult = WaitForSingleObject(mHandle, // handle to mutex in WaitForMutex() 27 switch (dwWaitResult) { in WaitForMutex()
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/vr/ |
H A D | gfxVRMutex.h | 19 DWORD dwWaitResult; in WaitForMutex() local 20 dwWaitResult = WaitForSingleObject(mHandle, // handle to mutex in WaitForMutex() 23 switch (dwWaitResult) { in WaitForMutex()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/desktop/win32/source/guiloader/ |
H A D | genericloader.cxx | 96 DWORD dwWaitResult; in GenericMain() local 103 …dwWaitResult = MsgWaitForMultipleObjects( 1, &aProcessInfo.hProcess, FALSE, INFINITE, QS_ALLEVENTS… in GenericMain() 105 if ( WAIT_OBJECT_0 + 1 == dwWaitResult ) in GenericMain() 111 } while ( WAIT_OBJECT_0 + 1 == dwWaitResult ); in GenericMain()
|
/dports/science/tfel/tfel-3.4.0/mfront/src/ |
H A D | MFrontLock.cxx | 62 DWORD dwWaitResult; in lock() local 63 dwWaitResult = ::WaitForSingleObject(this->ghMutex, // handle to mutex in lock() 65 tfel::raise_if(dwWaitResult == WAIT_ABANDONED, in lock()
|
/dports/science/tfel-edf/tfel-3.2.1/mfront/src/ |
H A D | MFrontLock.cxx | 57 DWORD dwWaitResult; in lock() local 58 dwWaitResult = ::WaitForSingleObject(this->ghMutex, // handle to mutex in lock() 60 tfel::raise_if(dwWaitResult == WAIT_ABANDONED, in lock()
|
/dports/net/ntp/ntp-4.2.8p15/lib/isc/win32/ |
H A D | app.c | 70 DWORD dwWaitResult; variable 169 dwWaitResult = WaitForMultipleObjects(NUM_EVENTS, hEvents, in isc__app_run() 174 if (WaitSucceeded(dwWaitResult, NUM_EVENTS)) { in isc__app_run() 179 switch (WaitSucceededIndex(dwWaitResult)) { in isc__app_run()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/desktop/win32/source/ |
H A D | loader.cxx | 341 DWORD dwWaitResult; in officeloader_impl() local 351 dwWaitResult = MsgWaitForMultipleObjects(1, &aProcessInfo.hProcess, FALSE, INFINITE, in officeloader_impl() 354 if (WAIT_OBJECT_0 + 1 == dwWaitResult) in officeloader_impl() 360 } while (WAIT_OBJECT_0 + 1 == dwWaitResult); in officeloader_impl() 451 DWORD dwWaitResult; in unopkgloader_impl() local 458 …dwWaitResult = MsgWaitForMultipleObjects(1, &aProcessInfo.hProcess, FALSE, INFINITE, QS_ALLEVENTS); in unopkgloader_impl() 460 if (WAIT_OBJECT_0 + 1 == dwWaitResult) in unopkgloader_impl() 466 } while (WAIT_OBJECT_0 + 1 == dwWaitResult); in unopkgloader_impl()
|
/dports/sysutils/fluent-bit/fluent-bit-1.8.11/plugins/filter_throttle_size/ |
H A D | size_window.c | 130 DWORD dwWaitResult = WaitForSingleObject(ht->lock, // handle to mutex in lock_throttle_size_table() local 132 if (WAIT_ABANDONED == dwWaitResult) { in lock_throttle_size_table() 137 DWORD dwWaitResult = WaitForSingleObject(ht->lock, // handle to mutex in lock_throttle_size_table() 139 if (WAIT_ABANDONED == dwWaitResult) { in lock_throttle_size_table()
|
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/libutils/ |
H A D | Threads.cpp | 380 DWORD dwWaitResult; 381 dwWaitResult = WaitForSingleObject((HANDLE) mState, INFINITE); 382 return dwWaitResult != WAIT_OBJECT_0 ? -1 : NO_ERROR; 393 DWORD dwWaitResult; 395 dwWaitResult = WaitForSingleObject((HANDLE) mState, 0); 396 if (dwWaitResult != WAIT_OBJECT_0 && dwWaitResult != WAIT_TIMEOUT) 398 return (dwWaitResult == WAIT_OBJECT_0) ? 0 : -1;
|
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/libutils/ |
H A D | Threads.cpp | 380 DWORD dwWaitResult; 381 dwWaitResult = WaitForSingleObject((HANDLE) mState, INFINITE); 382 return dwWaitResult != WAIT_OBJECT_0 ? -1 : OK; 393 DWORD dwWaitResult; 395 dwWaitResult = WaitForSingleObject((HANDLE) mState, 0); 396 if (dwWaitResult != WAIT_OBJECT_0 && dwWaitResult != WAIT_TIMEOUT) 398 return (dwWaitResult == WAIT_OBJECT_0) ? 0 : -1;
|
/dports/graphics/darktable38/darktable-3.8.0/src/external/LibRaw/samples/ |
H A D | half_mt_win32.c | 57 DWORD dwWaitResult; in get_next_file() local 63 dwWaitResult = WaitForSingleObject(qmutex, // handle to mutex in get_next_file() 65 switch (dwWaitResult) in get_next_file()
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/rawengine/libraw/samples/ |
H A D | half_mt_win32.c | 57 DWORD dwWaitResult; in get_next_file() local 63 dwWaitResult = WaitForSingleObject(qmutex, // handle to mutex in get_next_file() 65 switch (dwWaitResult) in get_next_file()
|
/dports/graphics/libraw/LibRaw-0.20.2/samples/ |
H A D | half_mt_win32.c | 57 DWORD dwWaitResult; in get_next_file() local 63 dwWaitResult = WaitForSingleObject(qmutex, // handle to mutex in get_next_file() 65 switch (dwWaitResult) in get_next_file()
|
/dports/devel/allegro5/allegro5-5.2.7.0/src/win/ |
H A D | wxthread.c | 290 DWORD dwWaitResult; in cond_wait() local 298 dwWaitResult = WaitForSingleObject(cond->semBlockQueue, timeout); in cond_wait() 299 if (dwWaitResult == WAIT_TIMEOUT) in cond_wait() 301 else if (dwWaitResult == WAIT_OBJECT_0) in cond_wait()
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/Native/gc/ |
H A D | gcee.cpp | 399 uint32_t dwWaitResult = NOERROR; in WaitUntilGCComplete() local 408 dwWaitResult = WaitForGCEvent->Wait(DETECT_DEADLOCK_TIMEOUT, FALSE ); in WaitUntilGCComplete() 410 if (dwWaitResult == WAIT_TIMEOUT) { in WaitUntilGCComplete() 422 dwWaitResult = WaitForGCEvent->Wait(INFINITE, FALSE ); in WaitUntilGCComplete() 427 return dwWaitResult; in WaitUntilGCComplete() 531 uint32_t dwWaitResult = NOERROR; in user_thread_wait() local 543 dwWaitResult = event->Wait(time_out_ms, FALSE); in user_thread_wait() 550 return dwWaitResult; in user_thread_wait()
|