pthread_sigqueue(): First parameter is incompatible with glibc
Christian Franke
Christian.Franke@t-online.de
Thu Sep 12 16:21:16 GMT 2024
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
More information about the Cygwin
mailing list