diff options
author | Lukas Larsson <[email protected]> | 2014-06-26 18:55:47 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-10-16 17:56:16 +0200 |
commit | 48083e54b502afb2768066394074d29423162dc8 (patch) | |
tree | 00edbcd4e486ac47a61a701d3f0cc6f2e3004156 /lib/kernel/src/inet_gethost_native.erl | |
parent | 5ab275d6554f4db877624a152dda90c0e3c4cddc (diff) | |
download | otp-48083e54b502afb2768066394074d29423162dc8.tar.gz otp-48083e54b502afb2768066394074d29423162dc8.tar.bz2 otp-48083e54b502afb2768066394074d29423162dc8.zip |
kernel,ssh: Add synchronous user_drv protocol
Added a put_chars_sync to the protocol that can be used to
talk to user_drv and made group use it. This is needed in order
to guarantee that bytes has been pushed to the tty port when
doing something like this:
io:format("halting\n"),erlang:halt(0).
Before this change the halting message could be lost in the message
queue of the user_drv process, this is no longer possible.
This commit also fixes ssh_cli as that plugs itself in as a user_drv
process.
OTP-12240
Diffstat (limited to 'lib/kernel/src/inet_gethost_native.erl')
0 files changed, 0 insertions, 0 deletions