On Wednesday 28 October 2026 00:41:46 LIU Hao wrote: > 在 2026-10-27 17:38, Martin Storsjö 写道: > > On Sun, 4 Oct 2026, Pali Rohár wrote: > > > > > > > > > Patches 1-3 should be acceptable I think. > > > > Patch 2 is clear and straightforward and should be fine. > > > > Patch 1 adds a new CRT variant "ucrt_vcruntime140" which does link > > vcruntime140 instead of ucrt-ms-win- crt-private*. I guess this is fine > > as well. Using it is tricky wrt redistribution as vcruntime140.dll isn't > > generally available out of the box, but it should be fine if we provide > > it as an opt-in feature for those who wants it. > > > > Patch 3 extends the new crt choice from patch 1. I guess this is fine > > too, but as we don't have a header for those functions it's probably a > > bit messy to use. But for those who thinks it's benefical, I guess it > > can be added... It makes the MSVC C11 threads more visible for us, so it > > makes it clearer if we have conflicts wrt symbol naming with them (if we > > have implementations with the same names but different ABI). > > > > I didn't proofread the makefile changes in detail, but it looks like it's > > been tested. > > I notice there's a fixup in the second series of patches. I have squashed it > in to the last one. > > If these can pass the CI, I will pushed them tomorrow.
Thank you both for input. I have tested changes locally and then Kirill run them on CI. But it was month ago and git branch was moved a bit. So re-running CI makes sense. Just to note that we have agreed only on first 3 patches from the file mingw_c11_threads.patches. Fourth patch contains the threads.h header which we do not want to merge yet. The second file mingw_c11_threads_2.patches contains fixups for header threads.h and then implementation of few threads functions (without dependency on vcruntime140_threads.dll. So the 4th patch from mingw_c11_threads.patches and whole mingw_c11_threads_2.patches, including the mentioned fixup should be skipped for now. _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
