[libcxx-commits] [PATCH] D97539: [libcxx] Implement semaphores for windows
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Feb 26 08:35:01 PST 2021
mstorsjo added inline comments.
================
Comment at: libcxx/src/support/win32/thread_win32.cpp:308
+{
+ chrono::milliseconds __ms = std::chrono::ceil<chrono::milliseconds>(__ns);
+ return WaitForSingleObjectEx(*(PHANDLE)__sem, __ms.count(), false) ==
----------------
curdeius wrote:
> OK. Now, there's no need for `std::`. :)
Doh, I thought I had removed the superfluous namespaces, will fix locally.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97539/new/
https://reviews.llvm.org/D97539
More information about the libcxx-commits
mailing list