Cygwin: Implement pthread_tryjoin_np and pthread_timedjoin_np

- Move pthread_join to thread.cc to have all `join' calls in
  the same file (pthread_timedjoin_np needs pthread_convert_abstime
  which is static inline in thread.cc)
- Bump API version

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2018-06-27 17:56:59 +02:00
parent 006520ca2b
commit 732e0b395d
7 changed files with 42 additions and 11 deletions

View File

@@ -375,7 +375,7 @@ public:
/* API calls */
static int cancel (pthread_t);
static int join (pthread_t * thread, void **return_val);
static int join (pthread_t * thread, void **return_val, PLARGE_INTEGER);
static int detach (pthread_t * thread);
static int create (pthread_t * thread, const pthread_attr_t * attr,
void *(*start_routine) (void *), void *arg);