This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
[newlib-cygwin] Cygwin: define pthread_tryjoin_np/pthread_timedjoin_np _GNU_VISIBLE
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: cygwin-cvs at sourceware dot org
- Date: 27 Jun 2018 16:24:57 -0000
- Subject: [newlib-cygwin] Cygwin: define pthread_tryjoin_np/pthread_timedjoin_np _GNU_VISIBLE
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=4b97244d125e6a7a043ee798a488a17e25cb5d0c
commit 4b97244d125e6a7a043ee798a488a17e25cb5d0c
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Wed Jun 27 18:17:51 2018 +0200
Cygwin: define pthread_tryjoin_np/pthread_timedjoin_np _GNU_VISIBLE
These functions are GNU extensions.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/include/pthread.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/winsup/cygwin/include/pthread.h b/winsup/cygwin/include/pthread.h
index beaac59..2ccf1cf 100644
--- a/winsup/cygwin/include/pthread.h
+++ b/winsup/cygwin/include/pthread.h
@@ -154,8 +154,6 @@ int pthread_getcpuclockid (pthread_t, clockid_t *);
int pthread_getschedparam (pthread_t, int *, struct sched_param *);
void *pthread_getspecific (pthread_key_t);
int pthread_join (pthread_t, void **);
-int pthread_tryjoin_np (pthread_t, void **);
-int pthread_timedjoin_np (pthread_t, void **, const struct timespec *);
int pthread_key_create (pthread_key_t *, void (*)(void *));
int pthread_key_delete (pthread_key_t);
@@ -232,6 +230,8 @@ int pthread_getattr_np (pthread_t, pthread_attr_t *);
int pthread_getname_np (pthread_t, char *, size_t) __attribute__((__nonnull__(2)));
int pthread_setname_np (pthread_t, const char *) __attribute__((__nonnull__(2)));
int pthread_sigqueue (pthread_t *, int, const union sigval);
+int pthread_timedjoin_np (pthread_t, void **, const struct timespec *);
+int pthread_tryjoin_np (pthread_t, void **);
int pthread_yield (void);
#endif
#if __MISC_VISIBLE /* HP-UX, others? */