Cygwin /usr/include/pthread.h:

int pthread_sigqueue (pthread_t *, int, const union sigval);

Linux /usr/include/x86_64-linux-gnu/bits/sigthread.h:

extern int pthread_sigqueue (pthread_t __threadid, int __signo,
                             const union sigval __value) __THROW;


It is apparently the case since the very first related patch:
https://sourceware.org/pipermail/cygwin-patches/2012q1/007565.html

RCS file: /cvs/src/src/winsup/cygwin/thread.cc,v
...
+extern "C" int
+pthread_sigqueue (pthread_t *thread, int sig, const union sigval value)
+{
...


Found by checking usages of __CYGWIN__ in stress-ng source (builds OOTB, maybe ITP):
https://github.com/ColinIanKing/stress-ng/commit/17c7a0d

--
Regards,
Christian


--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to