在 2025-02-26 09:24, LIU Hao 写道:
在 2025-02-20 01:38, Kirill Makurin 写道:
From: Kirill Makurin <maiddais...@outlook.com>
Sent: Thursday, February 20, 2025 2:33 AM
To: mingw-w64-public <mingw-w64-public@lists.sourceforge.net>
Subject: winpthreads: a few more header file cleanups

Patch 1: remove old, commented out typedef for `pthread_t`.

Patch 2: move `SIG_BLOCK`, `SIG_UNBLOCK` and `SIG_SETMASK` from pthread.h to pthread_signal.h. Also include pthread_signal.h from pthread.h when compiling with MSVC.

I have to revert patch 2, since this breaks libiberty and GCC builds.

If `SIG_SETMASK` is defined, this code attempts to call `sigprocmask()` and 
fails to compile:
https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libiberty/sigsetmask.c;h=f7a24246d1fdb15eacb414c35a6cdd98d95e6c4b;hb=HEAD





--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to