aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2013-04-29 18:45:45 +0200
committerRickard Green <[email protected]>2013-05-06 22:33:53 +0200
commitd7b83a84c5de60ad6a6aa84eb634a36d0a1a88ff (patch)
treeb3882847d820fd4b3c5e363256db79c149a1160b /erts/emulator/beam/erl_process.c
parent127f970059371d968238c8e461bc5c547b021899 (diff)
downloadotp-d7b83a84c5de60ad6a6aa84eb634a36d0a1a88ff.tar.gz
otp-d7b83a84c5de60ad6a6aa84eb634a36d0a1a88ff.tar.bz2
otp-d7b83a84c5de60ad6a6aa84eb634a36d0a1a88ff.zip
Only verify not busy for erlang:send(Port, Msg, [nosuspend]) until scheduled
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r--erts/emulator/beam/erl_process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index f9ef4eac65..d6061fb137 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -4670,6 +4670,8 @@ erts_init_scheduling(int no_schedulers, int no_schedulers_online)
esdp->reductions = 0;
init_sched_wall_time(&esdp->sched_wall_time);
+
+ erts_port_task_handle_init(&esdp->nosuspend_port_task_handle);
}
init_misc_aux_work();