diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2012-01-06 11:12:18 +0400 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2012-01-06 11:12:18 +0400 |
commit | 50350cafb37500a6cf5c1550cfcb2041af1a535a (patch) | |
tree | ff4e3d6a83802f971f1b3040d87712703ea6c800 /winsup/cygwin/include | |
parent | 1f94817747280040ae0b4b4af917fba3214255a8 (diff) |
* cygwin.din (pthread_sigqueue): Export.
* posix.sgml (std-gnu): Add pthread_sigqueue.
* thread.cc (pthread_sigqueue): New function.
* include/thread.h (pthread_sigqueue): New function.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 3 | ||||
-rw-r--r-- | winsup/cygwin/include/pthread.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index 550458312..7b4b2071f 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -427,12 +427,13 @@ details. */ 256: Add CW_ALLOC_DRIVE_MAP, CW_MAP_DRIVE_MAP, CW_FREE_DRIVE_MAP. 257: Export getpt. 258: Export get_current_dir_name. + 259: Export pthread_sigqueue. */ /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 258 +#define CYGWIN_VERSION_API_MINOR 259 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible diff --git a/winsup/cygwin/include/pthread.h b/winsup/cygwin/include/pthread.h index 8aa734a63..f56de0017 100644 --- a/winsup/cygwin/include/pthread.h +++ b/winsup/cygwin/include/pthread.h @@ -202,6 +202,7 @@ void pthread_testcancel (void); /* Non posix calls */ int pthread_getattr_np (pthread_t, pthread_attr_t *); +int pthread_sigqueue (pthread_t *, int, const union sigval); int pthread_suspend (pthread_t); int pthread_continue (pthread_t); int pthread_yield (void); |