MonoTimeImpl!(ClockType.normal) failed to get the frequency of the system's monotonic clock.
Jack
jckj33 at gmail.com
Sun Dec 13 17:42:56 UTC 2020
On Sunday, 13 December 2020 at 17:34:26 UTC, rikki cattermole
wrote:
> Did you initialize the D runtime before you called the D code?
> (assuming C main).
wow, thanks for such quck response. That's exactly what I missing
in this function:
version(Posix)
{
import core.runtime : rt_init, rt_term;
rt_init();
scope(exit) rt_term();
}
thanks!
More information about the Digitalmars-d-learn
mailing list