Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2017-08-03 20:13:21 +0300
committerCorinna Vinschen <corinna@vinschen.de>2017-08-03 20:13:21 +0300
commit37738448a024f1a2702ff5971dd7bda981d45923 (patch)
tree72409cdb6b86792910600e3e857a50b056db0964 /winsup/cygwin/thread.h
parent68217c3178dc897a6fce97ff99c3c3b07e638c65 (diff)
cygwin: Implement pthread_mutex_timedlock
- pthread_mutex::lock now takes a PLARGE_INTEGER timeout pointer and uses that in the call to cygwait. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/thread.h')
-rw-r--r--winsup/cygwin/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/thread.h b/winsup/cygwin/thread.h
index 9bb861824..88586ac4e 100644
--- a/winsup/cygwin/thread.h
+++ b/winsup/cygwin/thread.h
@@ -267,7 +267,7 @@ public:
static bool is_initializer_or_object (pthread_mutex_t const *);
static bool is_initializer_or_bad_object (pthread_mutex_t const *);
- int lock ();
+ int lock (PLARGE_INTEGER timeout = NULL);
int trylock ();
int unlock ();
int destroy ();