[D-runtime] [D-Programming-Language/druntime] 8818ba: - Fix initializer for core.time.MonoTime so it run...

GitHub via D-runtime d-runtime at puremagic.com
Wed May 20 06:07:30 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: 8818ba9198048d728146040dca839f6ad9f17afe
      https://github.com/D-Programming-Language/druntime/commit/8818ba9198048d728146040dca839f6ad9f17afe
  Author: Steven Schveighoffer <schveiguy at yahoo.com>
  Date:   2015-05-18 (Mon, 18 May 2015)

  Changed paths:
    M src/core/time.d
    M src/gc/gc.d
    M src/rt/dmain2.d

  Log Message:
  -----------
  - Fix initializer for core.time.MonoTime so it runs before static ctors to allow other subsystems to use MonoTime.
- Factor out translation of ClockType enums to POSIX clock types as a parameter to clock_gettime, etc. Change implementation to CTFE function to be easier on the compiler
- Remove reimplementation of getting MonoTime.ticks from GC code, since the initializer is now run before the gc initializer.


  Commit: d4e1b024b38d0202dfed307c932683384daf1fd1
      https://github.com/D-Programming-Language/druntime/commit/d4e1b024b38d0202dfed307c932683384daf1fd1
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
    M src/core/time.d
    M src/gc/gc.d
    M src/rt/dmain2.d

  Log Message:
  -----------
  Merge pull request #1278 from schveiguy/staticinitmonotime

Some updates to MonoTime to better initialize the ticks per second


Compare: https://github.com/D-Programming-Language/druntime/compare/17ba811ef3ef...d4e1b024b38d


More information about the D-runtime mailing list