diff options
author | Björn-Egil Dahlberg <[email protected]> | 2010-12-14 13:44:41 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2010-12-20 17:04:35 +0100 |
commit | cc38c833de443fa550ecf17201b6aac0d0ad25f9 (patch) | |
tree | 5f50a607cd37235de6b4a27357cd949d7f2b8769 /erts/emulator/sys/common/erl_mseg.c | |
parent | ce6172a1badb21a97a4235db27e2f991f01d5b0a (diff) | |
download | otp-cc38c833de443fa550ecf17201b6aac0d0ad25f9.tar.gz otp-cc38c833de443fa550ecf17201b6aac0d0ad25f9.tar.bz2 otp-cc38c833de443fa550ecf17201b6aac0d0ad25f9.zip |
Refactor timer interface
Diffstat (limited to 'erts/emulator/sys/common/erl_mseg.c')
-rw-r--r-- | erts/emulator/sys/common/erl_mseg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/sys/common/erl_mseg.c b/erts/emulator/sys/common/erl_mseg.c index b1ee165489..010d60eb63 100644 --- a/erts/emulator/sys/common/erl_mseg.c +++ b/erts/emulator/sys/common/erl_mseg.c @@ -35,6 +35,7 @@ #include "global.h" #include "erl_threads.h" #include "erl_mtrace.h" +#include "erl_time.h" #include "big.h" #if HAVE_ERTS_MSEG @@ -271,7 +272,7 @@ schedule_cache_check(void) #endif { cache_check_timer.active = 0; - erl_set_timer(&cache_check_timer, + erts_set_timer(&cache_check_timer, check_cache, NULL, NULL, |