在 2026-8-21 16:48, Kirill Makurin 写道:
If someone forgot to initialize their mutex like `static pthread_mutex_t mutex;`, they would have a zero-initialized mutex.Hello,This commit[1] added logic to "tolerate sloppy code of libgomp." Given it was almost 11 years ago, can we revert it? I plan to work on winpthreads' mutex.c this weekend, and this small piece of code leaves me uncertain about a few changes.
It is, of course, no good code; but if you revert that commit, such code would be broken. -- 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
