From 37738448a024f1a2702ff5971dd7bda981d45923 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 3 Aug 2017 19:13:21 +0200 Subject: 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 --- winsup/cygwin/thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/thread.h') 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 (); -- cgit v1.2.3