[Issue 14863] New: CLOCK_BOOTTIME should be optional to support <2.6.39 kernels

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Aug 2 02:54:31 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14863

          Issue ID: 14863
           Summary: CLOCK_BOOTTIME should be optional to support <2.6.39
                    kernels
           Product: D
           Version: D2
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: druntime
          Assignee: issues.dlang at jmdavisProg.com
          Reporter: code at dawg.eu
                CC: schveiguy at yahoo.com

Currently crashes every D binary on an older kernel.
We might reconsider to lazily initialize the resolutions.

http://forum.dlang.org/post/yfaddcwesfupysxdacse@forum.dlang.org

MonoTime is the replacement for TickDuration and it's initialized from the
runtime initialization function (rt_init). This is because the GC and others
may need time functionality.

Unfortunately, it looks like MonoTime does not currently support your kernel
version. It needs at least Linux 2.6.39. The reason being is that it has the
CLOCK_BOOTTIME clock which was implemented in Linux 2.6.39. Without this clock,
the minimum version would be Linux 2.6.32.

--


More information about the Digitalmars-d-bugs mailing list