diff options
author | Rickard Green <[email protected]> | 2016-11-25 15:23:54 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2016-11-25 15:23:54 +0100 |
commit | ad8c29d74e4cf43f48f2ce11aeea451ad51a7e45 (patch) | |
tree | af20460b285b5807dcb77defd638d816dc5daf45 /erts/emulator/beam/erl_lock_count.c | |
parent | 0fccaf80ab2348bbb99b7d2d8c25a3de77eebdeb (diff) | |
parent | f8aef2dcae7162b59efb9513442c9643c9f5159e (diff) | |
download | otp-ad8c29d74e4cf43f48f2ce11aeea451ad51a7e45.tar.gz otp-ad8c29d74e4cf43f48f2ce11aeea451ad51a7e45.tar.bz2 otp-ad8c29d74e4cf43f48f2ce11aeea451ad51a7e45.zip |
Merge branch 'maint'
* maint:
Fix initialization dependencies between time, lock-check and lcnt
Diffstat (limited to 'erts/emulator/beam/erl_lock_count.c')
-rw-r--r-- | erts/emulator/beam/erl_lock_count.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_lock_count.c b/erts/emulator/beam/erl_lock_count.c index a00e0f0fff..481e92b2cd 100644 --- a/erts/emulator/beam/erl_lock_count.c +++ b/erts/emulator/beam/erl_lock_count.c @@ -274,11 +274,11 @@ void erts_lcnt_init() { lcnt_unlock(); - /* set start timer and zero statistics */ - erts_lcnt_clear_counters(); } void erts_lcnt_late_init() { + /* set start timer and zero statistics */ + erts_lcnt_clear_counters(); erts_thr_install_exit_handler(erts_lcnt_thread_exit_handler); } |