This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add pthread_sigqueue(3)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]