On Wed, Jan 19, 2022 at 11:31 AM Yann Ylavic <ylavic....@gmail.com> wrote: > > I'm a bit surprised that _WIN32_WCE used CreateThread() while more > recent ones use _beginthreadex(), shouldn't it be the opposite? > CreateThread() aligns more with the usual/modern naming convention on > Windows..
Ignore naming conventions. We are a library that sits on top of MSVCRT/LIBCMT, and so the stdc lib we use needs to know a thread has started. CreateThread doesn't let the clib particpate and this causes specific problems for .dll loaded modules like our lib.