diff options
author | Rickard Green <[email protected]> | 2015-06-17 00:01:14 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2015-06-17 00:29:19 +0200 |
commit | 74f0d7c8ea47b363136c86de5d7ea78a48c40570 (patch) | |
tree | d391afc578a180d29a16a6d31037c6aad955e996 /erts/emulator/beam/erl_process.c | |
parent | 89b42bb784e97584b3f3b3c3ff4946a945876a5c (diff) | |
download | otp-74f0d7c8ea47b363136c86de5d7ea78a48c40570.tar.gz otp-74f0d7c8ea47b363136c86de5d7ea78a48c40570.tar.bz2 otp-74f0d7c8ea47b363136c86de5d7ea78a48c40570.zip |
Save IO bytes in scheduler specific data
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r-- | erts/emulator/beam/erl_process.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c index 43e84a1be1..88c1b5c121 100644 --- a/erts/emulator/beam/erl_process.c +++ b/erts/emulator/beam/erl_process.c @@ -5542,6 +5542,9 @@ init_scheduler_data(ErtsSchedulerData* esdp, int num, esdp->thr_id = (Uint32) num; erts_sched_bif_unique_init(esdp); + esdp->io.out = (Uint64) 0; + esdp->io.in = (Uint64) 0; + if (daww_ptr) { init_aux_work_data(&esdp->aux_work_data, esdp, *daww_ptr); #ifdef ERTS_SMP |