[libcxx] Implement semaphores for windows
authorMartin Storsjö <martin@martin.st>
Thu, 25 Feb 2021 22:41:35 +0000 (00:41 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 5 Mar 2021 08:48:59 +0000 (10:48 +0200)
commit1773eec6928f4e37b377e23b84d7a2a07d0d1d0d
tree51c47a3237b9c0e385d335d3f2d7f23f1668cbba
parent579fd0259788e8dcd4c2a26b5eefdd0d78cd4093
[libcxx] Implement semaphores for windows

Also add WIN32_LEAN_AND_MEAN before including windows.h, for consistency
with other sources.

Differential Revision: https://reviews.llvm.org/D97539
libcxx/include/__threading_support
libcxx/src/support/win32/thread_win32.cpp