mirror of
https://github.com/boostorg/thread.git
synced 2026-02-09 23:42:18 +00:00
Extracted the original GetTicksCount64 de-cruft patch and rebased on boostorg/thread:develop.
This commit is contained in:
parent
fe195e776b
commit
04c53415fd
@@ -461,7 +461,7 @@ namespace boost
|
||||
LARGE_INTEGER due_time={{0,0}};
|
||||
if(target_time.relative)
|
||||
{
|
||||
unsigned long const elapsed_milliseconds=detail::win32::GetTickCount64()-target_time.start;
|
||||
detail::win32::ticks_type const elapsed_milliseconds=detail::win32::GetTickCount64()()-target_time.start;
|
||||
LONGLONG const remaining_milliseconds=(target_time.milliseconds-elapsed_milliseconds);
|
||||
LONGLONG const hundred_nanoseconds_in_one_millisecond=10000;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user