We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e312c3 commit 17b8785Copy full SHA for 17b8785
lldb/source/Host/windows/MainLoopWindows.cpp
@@ -28,7 +28,7 @@ static DWORD ToTimeout(std::optional<MainLoopWindows::TimePoint> point) {
28
return WSA_INFINITE;
29
30
nanoseconds dur = (std::max)(*point - steady_clock::now(), nanoseconds(0));
31
- return duration_cast<milliseconds>(dur).count();
+ return ceil<milliseconds>(dur).count();
32
}
33
34
MainLoopWindows::MainLoopWindows() {
0 commit comments