diff options
author | Rickard Green <[email protected]> | 2015-03-23 16:39:56 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2015-03-23 17:16:09 +0100 |
commit | e52829ceb614b36c31a650dea455a463fc490698 (patch) | |
tree | 425d5f2a6286f0545c4f70b12ba94584fd468de5 /erts/emulator/sys/unix/sys.c | |
parent | d07319f790eb38c867bd04a23de674e2393825ff (diff) | |
download | otp-e52829ceb614b36c31a650dea455a463fc490698.tar.gz otp-e52829ceb614b36c31a650dea455a463fc490698.tar.bz2 otp-e52829ceb614b36c31a650dea455a463fc490698.zip |
erts_sys_hrtime() for lcnt
Diffstat (limited to 'erts/emulator/sys/unix/sys.c')
-rw-r--r-- | erts/emulator/sys/unix/sys.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/erts/emulator/sys/unix/sys.c b/erts/emulator/sys/unix/sys.c index 58b01c094e..3647ea6a88 100644 --- a/erts/emulator/sys/unix/sys.c +++ b/erts/emulator/sys/unix/sys.c @@ -528,18 +528,18 @@ erts_sys_pre_init(void) erts_thr_init(&eid); -#endif /* USE_THREADS */ - - erts_init_sys_time_sup(); - -#ifdef USE_THREADS - report_exit_list = NULL; #ifdef ERTS_ENABLE_LOCK_COUNT erts_lcnt_init(); #endif +#endif /* USE_THREADS */ + + erts_init_sys_time_sup(); + +#ifdef USE_THREADS + #if CHLDWTHR || defined(ERTS_SMP) erts_mtx_init(&chld_stat_mtx, "child_status"); #endif |