MonoTimeImpl!(ClockType.normal) failed to get the frequency of the system's monotonic clock.

Jack jckj33 at gmail.com
Sun Dec 13 17:30:48 UTC 2020


I have this D code base that when I compile to executable, it ran 
fine, but when I call the very same function from C, I get this 
error:

Aborting from src/core/time.d(2113) 
MonoTimeImpl!(ClockType.normal) failed to get the frequency of 
the system's monotonic clock.

from source code[1] I see ticksPerSecond failed to get a value 
but how don't know why and how can I fix that? can I track the 
line of code calling that function that end up with abort() call?
my OS is openSUSE Leap 15.0, DMD64 D Compiler v2.094.2, DUB 
version 1.23.0, built on Nov 20 2020


[1]:https://github.com/dlang/druntime/blob/fd5f4e2dded204b01d977c695c3ff910a699bc52/src/core/time.d#2113


More information about the Digitalmars-d-learn mailing list