diff options
author | Rickard Green <[email protected]> | 2016-09-06 12:19:44 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2016-09-06 12:19:44 +0200 |
commit | 54aeaff05a88e83c2ee174b53da2b00ac101c6db (patch) | |
tree | ccd2cdfe6e731ad25f3d4627893f7a0a38526ada | |
parent | 02c9a648db3753008e67f22140a2bf8dd8912ccd (diff) | |
parent | 2e4812fe7082364ff5bb423b3365b0e6564e5db8 (diff) | |
download | otp-54aeaff05a88e83c2ee174b53da2b00ac101c6db.tar.gz otp-54aeaff05a88e83c2ee174b53da2b00ac101c6db.tar.bz2 otp-54aeaff05a88e83c2ee174b53da2b00ac101c6db.zip |
Merge branch 'rickard/thr-prgr-unmanaged-delay-bug/OTP-13869' into maint
* rickard/thr-prgr-unmanaged-delay-bug/OTP-13869:
Fix erts_thr_progress_unmanaged_delay()
-rw-r--r-- | erts/emulator/beam/erl_thr_progress.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_thr_progress.c b/erts/emulator/beam/erl_thr_progress.c index 26d71f573f..700ed90def 100644 --- a/erts/emulator/beam/erl_thr_progress.c +++ b/erts/emulator/beam/erl_thr_progress.c @@ -700,6 +700,7 @@ leader_update(ErtsThrPrgrData *tpd) tpd->leader_state.chk_next_ix = no_managed; erts_atomic32_set_nob(&intrnl->misc.data.umrefc_ix.current, (erts_aint32_t) new_umrefc_ix); + tpd->leader_state.umrefc_ix.current = new_umrefc_ix; ETHR_MEMBAR(ETHR_StoreLoad); refc = erts_atomic_read_nob(&intrnl->umrefc[umrefc_ix].refc); ASSERT(refc >= 0); |