aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-09-30 17:00:37 +0200
committerSverker Eriksson <[email protected]>2014-09-30 20:52:48 +0200
commitb7801392325784027e93e3488e7e28d596e6b658 (patch)
tree62d48d5cbf62bac466240a77627a73230942d55f /erts/emulator/test
parentbfc6a9b3325969a7bc1d0c228766537049a4f637 (diff)
downloadotp-b7801392325784027e93e3488e7e28d596e6b658.tar.gz
otp-b7801392325784027e93e3488e7e28d596e6b658.tar.bz2
otp-b7801392325784027e93e3488e7e28d596e6b658.zip
erts: Fix race between port_set_data, port_get_data and port termination
Always update prt->data with atomic xchg-op. Check for NULL data to detect racing port terminator. Use NULL, as THE_NON_VALUE can be a valid pointer on debug VM.
Diffstat (limited to 'erts/emulator/test')
0 files changed, 0 insertions, 0 deletions