aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-03-13 11:24:44 +0100
committerLukas Larsson <[email protected]>2013-03-13 15:35:32 +0100
commita73414d2e8ad03538b28546756e7e7264654466d (patch)
treedb04066f7e3de7113fa9bba0aa7ac5692d21db3b /lib/erl_interface
parent05f11890bdfec4bfc3a78e191a87e70a937ffc54 (diff)
downloadotp-a73414d2e8ad03538b28546756e7e7264654466d.tar.gz
otp-a73414d2e8ad03538b28546756e7e7264654466d.tar.bz2
otp-a73414d2e8ad03538b28546756e7e7264654466d.zip
Do driver_deq in worker threads instead of async_ready
Doing it in async_ready was needed before the pdl was introduced, but now with the pdl the deq no longer needs the port lock to protect it. This was not an issue when async_ready was called in the worker thread, but now (R15B) that it is signalled back to the scheduler, some very nasty race conditions could occur when using driver_timer and async jobs.
Diffstat (limited to 'lib/erl_interface')
0 files changed, 0 insertions, 0 deletions