diff options
author | ivan <ivan@13f79535-47bb-0310-9956-ffa450edef68> | 2019-05-27 17:11:23 +0000 |
---|---|---|
committer | ivan <ivan@13f79535-47bb-0310-9956-ffa450edef68> | 2019-05-27 17:11:23 +0000 |
commit | 5a0567d0470e8be395c0299306786a98992c6f25 (patch) | |
tree | c21f1deecd4de7b23398e40dddc6884bf5a2831f /include/arch/win32/apr_arch_misc.h | |
parent | a7a7248520a64aa924e24c44c9d75bf4bb2d893a (diff) | |
download | libapr-xmllite.tar.gz |
On 'xmllite' branch: Merge changes from trunk.xmllite
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/xmllite@1860149 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/arch/win32/apr_arch_misc.h')
-rw-r--r-- | include/arch/win32/apr_arch_misc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/arch/win32/apr_arch_misc.h b/include/arch/win32/apr_arch_misc.h index 2cf1c6545..4fbe79ff4 100644 --- a/include/arch/win32/apr_arch_misc.h +++ b/include/arch/win32/apr_arch_misc.h @@ -172,6 +172,11 @@ static APR_INLINE void* apr_realloc_dbg(void* userData, size_t newSize, #endif /* ! _MSC_VER */ +/* Wrapper around WaitForSingleObject() that accepts apr_interval_time_t + * in microseconds instead of milliseconds. Values < 0 mean wait + * forever, 0 means do not wait at all. */ +DWORD apr_wait_for_single_object(HANDLE handle, apr_interval_time_t timeout); + typedef enum { DLL_WINBASEAPI = 0, /* kernel32 From WinBase.h */ DLL_WINADVAPI = 1, /* advapi32 From WinBase.h */ |