diff options
author | Lukas Larsson <[email protected]> | 2014-06-26 18:50:51 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-10-16 17:55:56 +0200 |
commit | 2e84a2ab5e0f0c82c2d79f69cd2f4bff762762a4 (patch) | |
tree | 1e01c1362e398f3df93b681c1eda4fb3cfbe9fbe /lib/asn1 | |
parent | 1af8998028f77b4ca01c52972a5983b072ef02d1 (diff) | |
download | otp-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 'lib/asn1')
0 files changed, 0 insertions, 0 deletions