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>
This commit is contained in:
@@ -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 ();
|
||||
|
Reference in New Issue
Block a user