Re: [Mingw-w64-public] [PATCH] crt: Implement standard-conforming termination support with mcfgthread

2022-10-22 Thread JonY via Mingw-w64-public
On 10/22/22 19:52, Martin Storsjö wrote: On Sat, 22 Oct 2022, Jacek Caban wrote: On 10/22/22 18:34, LIU Hao wrote: Hello, Attached are final patches for mcfgthread support in the CRT. Please review. Perhaps to a little surprise, I don't like it. My main issue is that it requires mingw c

Re: [Mingw-w64-public] [PATCH] crt: Implement standard-conforming termination support with mcfgthread

2022-10-22 Thread Martin Storsjö
On Sat, 22 Oct 2022, Jacek Caban wrote: On 10/22/22 18:34, LIU Hao wrote: Hello, Attached are final patches for mcfgthread support in the CRT. Please review. Perhaps to a little surprise, I don't like it. My main issue is that it requires mingw crt to be aware of 3rd party library detail

Re: [Mingw-w64-public] [PATCH] crt: Implement standard-conforming termination support with mcfgthread

2022-10-22 Thread Jacek Caban
On 10/22/22 18:34, LIU Hao wrote: Hello, Attached are final patches for mcfgthread support in the CRT. Please review. Perhaps to a little surprise, I don't like it. My main issue is that it requires mingw crt to be aware of 3rd party library details instead of being agnostic to threading

[Mingw-w64-public] [PATCH] crt: Implement standard-conforming termination support with mcfgthread

2022-10-22 Thread LIU Hao
Hello, Attached are final patches for mcfgthread support in the CRT. Please review. -- Best regards, LIU Hao From c0fe5b71bff8b147a6cc3c69d176ef25f343652a Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Fri, 7 Oct 2022 22:42:04 +0800 Subject: [PATCH 1/4] crt: Mark `atexit()` as DATA because it's a