diff options
author | Ivan Zhakov <ivan@apache.org> | 2019-05-26 13:41:49 +0000 |
---|---|---|
committer | Ivan Zhakov <ivan@apache.org> | 2019-05-26 13:41:49 +0000 |
commit | f0ec3634d7c1abad8cdb4da62b5a06821514e2af (patch) | |
tree | 6d680081057d02fb45275512e343867149ac5131 /file_io | |
parent | 71d0990074e0ef4de584ae95fad7f84aceb4ca64 (diff) | |
download | apr-f0ec3634d7c1abad8cdb4da62b5a06821514e2af.tar.gz |
win32: Factor out common code to private function apr_wait_for_single_object().
This function almost the same as WaitForSingleObject() except it accepts
timeout value in microseconds, instead of milliseconds.
* include/arch/win32/apr_arch_misc.h
* misc/win32/misc.c
(apr_wait_for_single_object): New. Factored out from thread_cond_timedwait().
* locks/win32/proc_mutex.c
* locks/win32/thread_cond.c
* locks/win32/thread_mutex.c
(apr_proc_mutex_timedlock, thread_cond_timedwait,
apr_thread_mutex_timedlock): Use apr_wait_for_single_object().
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1860075 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io')
0 files changed, 0 insertions, 0 deletions