[PATCH] Add pthread_sigqueue(3)
Christopher Faylor
cgf-use-the-mailinglist-please@cygwin.com
Mon Jan 2 18:00:00 GMT 2012
On Sun, Jan 01, 2012 at 12:59:00PM -0600, Yaakov (Cygwin/X) wrote:
>This patchset adds pthread_sigqueue(3), a GNU extension:
>
>http://www.kernel.org/doc/man-pages/online/pages/man3/pthread_sigqueue.3.html
>
>The implementation is based on the existing sigqueue(2) and
>pthread_kill(3) code.
>
>Patches for winsup/cygwin and winsup/doc attached.
>2012-01-?? Yaakov Selkowitz <yselkowitz@...>
>
> * 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.
I guess this can go in since I already "implemented" sigqueue but
SI_QUEUE isn't actually fully functional. Cygwin doesn't queue signals
and I don't believe it handles the sigval union correctly.
But, anyway, thanks for the patch. Go ahead and check in.
cgf
More information about the Cygwin-patches
mailing list