diff options
author | Sverker Eriksson <[email protected]> | 2015-06-18 19:07:12 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2015-06-18 19:09:37 +0200 |
commit | 0a54d9988e7803e7d190f504838c6fe83f79bc8f (patch) | |
tree | 4d0082e772c020dc628dad4645262a4c0ed99831 /erts/emulator/beam/erl_process.c | |
parent | 2bf100436c480c030200a655c82ec12fe55cdca4 (diff) | |
download | otp-0a54d9988e7803e7d190f504838c6fe83f79bc8f.tar.gz otp-0a54d9988e7803e7d190f504838c6fe83f79bc8f.tar.bz2 otp-0a54d9988e7803e7d190f504838c6fe83f79bc8f.zip |
erts: Fix timer wheel initialization bug for non smp
Init esdp->timer_wheel as NULL to please setup_aux_work_timer().
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r-- | erts/emulator/beam/erl_process.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c index 88c1b5c121..fa37d0a9c9 100644 --- a/erts/emulator/beam/erl_process.c +++ b/erts/emulator/beam/erl_process.c @@ -5496,6 +5496,7 @@ init_scheduler_data(ErtsSchedulerData* esdp, int num, ErtsRunQueue* runq, char** daww_ptr, size_t daww_sz) { + esdp->timer_wheel = NULL; #ifdef ERTS_SMP erts_bits_init_state(&esdp->erl_bits_state); esdp->match_pseudo_process = NULL; |