[PATCH v4] Cygwin: Change pthread_sigqueue() to accept thread id
Corinna Vinschen
corinna-cygwin@cygwin.com
Tue Nov 12 12:10:55 GMT 2024
On Nov 11 22:38, Mark Geisert wrote:
> Change the first parameter of pthread_sigqueue() to be a thread id rather
> than a thread pointer. The change is to match the Linux implementation of
> this function.
>
> The user-visible function prototype is changed in include/pthread.h.
> The pthread_sigqueue() function is modified to work with a passed-in thread
> id rather than an indirect thread pointer as before. (It used to be
> "pthread_t *thread", i.e., class pthread **.) The release note for Cygwin
> 3.5.5 is updated.
>
> Reported-by: Christian Franke <Christian.Franke@t-online.de>
> Addresses: https://cygwin.com/pipermail/cygwin/2024-September/256439.html
> Signed-off-by: Mark Geisert <mark@maxrnd.com>
> Fixes: 50350cafb375 ("* cygwin.din (pthread_sigqueue): Export.")
>
> ---
> winsup/cygwin/include/pthread.h | 2 +-
> winsup/cygwin/release/3.5.5 | 3 +++
> winsup/cygwin/thread.cc | 8 ++++----
> 3 files changed, 8 insertions(+), 5 deletions(-)
Pushed to main and cygwin-3_5-branch.
Thanks,
Corinna
More information about the Cygwin-patches
mailing list