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:
@@ -495,12 +495,13 @@ details. */
|
||||
324: Export sigtimedwait.
|
||||
325: Export catclose, catgets, catopen.
|
||||
326: Export clearenv
|
||||
327: Export pthread_tryjoin_np, pthread_timedjoin_np.
|
||||
|
||||
Note that we forgot to bump the api for ualarm, strtoll, strtoull,
|
||||
sigaltstack, sethostname. */
|
||||
|
||||
#define CYGWIN_VERSION_API_MAJOR 0
|
||||
#define CYGWIN_VERSION_API_MINOR 326
|
||||
#define CYGWIN_VERSION_API_MINOR 327
|
||||
|
||||
/* There is also a compatibity version number associated with the shared memory
|
||||
regions. It is incremented when incompatible changes are made to the shared
|
||||
|
@@ -154,6 +154,8 @@ 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);
|
||||
|
||||
|
Reference in New Issue
Block a user