use MonoTime/Duration instead of clock() for higher precision when profiling the GC
also fix building with PRINTF_TO_FILE
Move last remaining module from std.c and remove a reference to Windows in core.sys.posix
Merge pull request #1005 from rainers/gc_profile_ticks

use MonoTime/Duration instead of clock() for higher precision when profiling the GC
Extend unittest for ldexp()

The unit test checks some edge cases for 80bit reals.
This pull request adds a test for platforms which only have 64bit reals (e.g. ARM, PPC).
More @safe-ty for core.sync
Merge pull request #1009 from Dicebot/sync-safety

More @safe-ty for core.sync
Merge pull request #1008 from redstar/math

Extend unittest for ldexp()
Merge pull request #1007 from joakim-noah/move_winsock

Move last remaining module from std.c
use naked asm blocks to clear registers
fix Issue 12800 - Fibers are broken on Win64

- save non-volatile registers RSI and RDI
Merge pull request #1012 from MartinNowak/fix12800

fix Issue 12800 - Fibers are broken on Win64
do not try to detach a thread that isn't running yet
Merge pull request #1016 from rainers/unittest_thread_detach

Fix unittest in core.thread