diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2018-06-27 18:17:51 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2018-06-27 18:20:47 +0200 |
commit | 4b97244d125e6a7a043ee798a488a17e25cb5d0c (patch) | |
tree | 7c241aaf0829cb996705a25cbe8339ad9b6a3268 | |
parent | c9d6787e76e78869703686299c3bae4d6396e875 (diff) | |
download | newlib-4b97244d125e6a7a043ee798a488a17e25cb5d0c.zip newlib-4b97244d125e6a7a043ee798a488a17e25cb5d0c.tar.gz newlib-4b97244d125e6a7a043ee798a488a17e25cb5d0c.tar.bz2 |
Cygwin: define pthread_tryjoin_np/pthread_timedjoin_np _GNU_VISIBLE
These functions are GNU extensions.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r-- | winsup/cygwin/include/pthread.h | 4 |
1 files 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? */ |