diff options
author | Rickard Green <[email protected]> | 2015-02-13 10:12:02 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2015-03-20 15:28:52 +0100 |
commit | 1d9350693fe2c4d1d6b2baa504aacd070e023a1a (patch) | |
tree | 3ac1fe2c79aaeadacdb06acaa0d106095713679a /erts/emulator/beam/utils.c | |
parent | 6b1921d767de5cd1a980234f83b36dbfa13d9fc7 (diff) | |
download | otp-1d9350693fe2c4d1d6b2baa504aacd070e023a1a.tar.gz otp-1d9350693fe2c4d1d6b2baa504aacd070e023a1a.tar.bz2 otp-1d9350693fe2c4d1d6b2baa504aacd070e023a1a.zip |
Multiple timer wheels
Diffstat (limited to 'erts/emulator/beam/utils.c')
-rw-r--r-- | erts/emulator/beam/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/utils.c b/erts/emulator/beam/utils.c index 54f1a122c4..da03960b59 100644 --- a/erts/emulator/beam/utils.c +++ b/erts/emulator/beam/utils.c @@ -3777,7 +3777,7 @@ erts_create_smp_ptimer(ErtsSmpPTimer **timer_ref, res->timer.timeout_func = timeout_func; res->timer.timer_ref = timer_ref; res->timer.id = id; - res->timer.tm.active = 0; /* MUST be initalized */ + erts_init_timer(&res->timer.tm); ASSERT(!*timer_ref); |