aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/drivers/unix/multi_drv.c
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2014-06-26 18:50:51 +0200
committerLukas Larsson <[email protected]>2014-10-16 17:55:56 +0200
commit2e84a2ab5e0f0c82c2d79f69cd2f4bff762762a4 (patch)
tree1e01c1362e398f3df93b681c1eda4fb3cfbe9fbe /erts/emulator/drivers/unix/multi_drv.c
parent1af8998028f77b4ca01c52972a5983b072ef02d1 (diff)
downloadotp-2e84a2ab5e0f0c82c2d79f69cd2f4bff762762a4.tar.gz
otp-2e84a2ab5e0f0c82c2d79f69cd2f4bff762762a4.tar.bz2
otp-2e84a2ab5e0f0c82c2d79f69cd2f4bff762762a4.zip
erts: Make tty driver non-blocking
Instead of using blocking call to fwrite, the tty driver now uses non-blocking calls to writev and queues any output data that cannot be written into the driver queue. Without this change an stdout write could block an entire scheduler if for some reason the pseudo tty on the other side does not consume the output of the Erlang shell. OTP-12239
Diffstat (limited to 'erts/emulator/drivers/unix/multi_drv.c')
0 files changed, 0 insertions, 0 deletions