aboutsummaryrefslogtreecommitdiffstats
path: root/otp_build
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-06-14 08:26:07 +0200
committerJohn Högberg <[email protected]>2018-06-14 08:26:07 +0200
commit8ca58cf82e430775ab1c2adfab31f77f649c3f96 (patch)
treedb259111fd981940331fa9c3bfb0a85bc746a8eb /otp_build
parent4013f4840d8d540c63fa7901c2d8d1653ae45821 (diff)
downloadotp-8ca58cf82e430775ab1c2adfab31f77f649c3f96.tar.gz
otp-8ca58cf82e430775ab1c2adfab31f77f649c3f96.tar.bz2
otp-8ca58cf82e430775ab1c2adfab31f77f649c3f96.zip
Don't enqueue system tasks if target process is in fail_state
The fail state wasn't re-checked in the state change loop; only the FREE state was checked. In addition to that, we would leave the task in the queue when bailing out which could lead to a double-free. This commit backports active_sys_enqueue from master to make it easier to merge onwards.
Diffstat (limited to 'otp_build')
0 files changed, 0 insertions, 0 deletions