aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-06-18 19:07:12 +0200
committerSverker Eriksson <[email protected]>2015-06-18 19:09:37 +0200
commit0a54d9988e7803e7d190f504838c6fe83f79bc8f (patch)
tree4d0082e772c020dc628dad4645262a4c0ed99831 /erts/emulator/beam/erl_process.c
parent2bf100436c480c030200a655c82ec12fe55cdca4 (diff)
downloadotp-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.c1
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;