在 2026-5-27 15:22, Kirill Makurin 写道:
I think we should go with one of implementations that I've sent in the past few weeks:1. Simplistic implementation with storing thread ID directly in `pthread_spinlock_t`. 2. Implementation using auto-reset events where `pthread_spinlock_t` is used as a handle. As I've mentioned before, if we go with 1st, some of follow up patches will need to be updated. Let me know what you think.
I'd prefer 2, which looks like a solution to https://github.com/msys2/MINGW-packages/issues/29108.It will revert the purpose of 249898d9ae310959116efa333e4e3e690cf97452, but I feel that syscalls have improved a lot since Windows 10, as seen in https://github.com/lhmouse/mcfgthread#benchmark-results.
-- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
