diff options
author | Lukas Larsson <[email protected]> | 2013-03-13 11:24:44 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2013-03-13 15:35:32 +0100 |
commit | a73414d2e8ad03538b28546756e7e7264654466d (patch) | |
tree | db04066f7e3de7113fa9bba0aa7ac5692d21db3b /lib/ssh/test/ssh_echo_server.erl | |
parent | 05f11890bdfec4bfc3a78e191a87e70a937ffc54 (diff) | |
download | otp-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/ssh/test/ssh_echo_server.erl')
0 files changed, 0 insertions, 0 deletions