aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/win32
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2015-03-26 12:07:00 +0100
committerRickard Green <[email protected]>2015-03-26 12:07:00 +0100
commit2e016f6cde89bf471269c89f0fd2bb40422ce204 (patch)
treee505e8dc133cb6628d5581992c875cd07117d70e /erts/emulator/sys/win32
parent047811828ebac3c4909b8056b8268205c34b693c (diff)
downloadotp-2e016f6cde89bf471269c89f0fd2bb40422ce204.tar.gz
otp-2e016f6cde89bf471269c89f0fd2bb40422ce204.tar.bz2
otp-2e016f6cde89bf471269c89f0fd2bb40422ce204.zip
Misc fixes
Diffstat (limited to 'erts/emulator/sys/win32')
-rw-r--r--erts/emulator/sys/win32/sys_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/win32/sys_time.c b/erts/emulator/sys/win32/sys_time.c
index 7fe61084ce..b292d9279e 100644
--- a/erts/emulator/sys/win32/sys_time.c
+++ b/erts/emulator/sys/win32/sys_time.c
@@ -302,7 +302,7 @@ sys_init_time(ErtsSysInitTimeResult *init_resp)
internal_state.w.f.last_tick_count = 0;
init_resp->os_monotonic_time_info.func = "GetTickCount";
- init_resp->os_monotonic_time_info.locked_use = 1;
+ init_resp->os_monotonic_time_info.locked_use = 0;
/* 10-16 ms resolution according to MicroSoft documentation */
init_resp->os_monotonic_time_info.resolution = 100; /* 10 ms */
time_unit = (ErtsMonotonicTime) 1000;