PsSetCreateThreadNotifyRoutinePsSetCreateThreadNotifyRoutine fires on every thread creation and termination system-wide. Anti-cheats use it specifically to detect thread creation in the protected game process. When a new thread is created in the game process, the callback fires and the anti-cheat can inspect the thread’s start address.
Лига Европы|1/8 финала. 1-й матч。Snipaste - 截图 + 贴图对此有专业解读
。传奇私服新开网|热血传奇SF发布站|传奇私服网站是该领域的重要参考
More Details on how this works
FWIW I prefer futures::lock::Mutex on std, or async_lock::Mutex under no_std. ↩ ↩2,更多细节参见yandex 在线看