Starting to cleanup includes a bit. Still a mess.

This commit is contained in:
Ben Vanik
2014-07-11 18:03:35 -07:00
parent f24b45a07c
commit 1d54342930
28 changed files with 245 additions and 245 deletions

View File

@@ -9,6 +9,8 @@
#include <poly/threading.h>
#include <poly/platform.h>
namespace poly {
namespace threading {
@@ -22,7 +24,7 @@ void Sleep(std::chrono::microseconds duration) {
if (duration.count() < 100) {
SwitchToThread();
} else {
Sleep(duration.count() / 1000);
::Sleep(static_cast<DWORD>(duration.count() / 1000));
}
}