[CRT] Implement thread/fiber safe support for MSVC and Clang-CL
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 3 Feb 2019 23:06:35 +0000 (00:06 +0100)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Tue, 12 Feb 2019 18:31:33 +0000 (19:31 +0100)
commit2a5bf9689144d2ec78f4114d4d0f43758399f427
tree4463be79134b92dc43961c824dbd4ff5bcac0a5a
parentdc77e7d37904fc9f3170379481fa2ff185e7d555
[CRT] Implement thread/fiber safe support for MSVC and Clang-CL

This is the most trivial (but also most efficient) implementation possible. Should be good enough for now.
sdk/lib/crt/msvcrtex.cmake
sdk/lib/crt/startup/threadSafeInit.c [new file with mode: 0644]