We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc183b8 commit e8b1491Copy full SHA for e8b1491
src/coreclr/gc/unix/events.cpp
@@ -131,6 +131,7 @@ class GCEvent::Impl
131
if (milliseconds != INFINITE)
132
{
133
uint64_t nanoseconds = (uint64_t)milliseconds * tccMilliSecondsToNanoSeconds;
134
+ NanosecondsToTimeSpec(nanoseconds, &endTime);
135
endMachTime = clock_gettime_nsec_np(CLOCK_UPTIME_RAW) + nanoseconds;
136
}
137
#elif HAVE_PTHREAD_CONDATTR_SETCLOCK
0 commit comments