This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH] Add pthread_sigqueue(3)
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Mon, 2 Jan 2012 12:59:52 -0500
- Subject: Re: [PATCH] Add pthread_sigqueue(3)
- References: <1325444340.6724.15.camel@YAAKOV04>
- Reply-to: cygwin-patches at cygwin dot com
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