diff options
author | Lukas Larsson <[email protected]> | 2014-06-30 17:14:11 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-10-16 17:55:59 +0200 |
commit | 5ab275d6554f4db877624a152dda90c0e3c4cddc (patch) | |
tree | 11f6e5f0157a8d2b7faac514dff952385464201e /erts/emulator/beam | |
parent | 2e84a2ab5e0f0c82c2d79f69cd2f4bff762762a4 (diff) | |
download | otp-5ab275d6554f4db877624a152dda90c0e3c4cddc.tar.gz otp-5ab275d6554f4db877624a152dda90c0e3c4cddc.tar.bz2 otp-5ab275d6554f4db877624a152dda90c0e3c4cddc.zip |
erts: Make writing to non-tty fds non-blocking
If the fd_driver is given non-tty fds it will now use an async thread
instead of doing a blocking write. An example of a non-tty fd is the
fd used by stderr, but could be anything handed down to the driver.
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r-- | erts/emulator/beam/erl_alloc.types | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_alloc.types b/erts/emulator/beam/erl_alloc.types index 17ac6316b7..d23d26a0fc 100644 --- a/erts/emulator/beam/erl_alloc.types +++ b/erts/emulator/beam/erl_alloc.types @@ -411,6 +411,8 @@ type CS_PROG_PATH LONG_LIVED SYSTEM cs_prog_path type ENVIRONMENT TEMPORARY SYSTEM environment type PUTENV_STR SYSTEM SYSTEM putenv_string type PRT_REP_EXIT STANDARD SYSTEM port_report_exit +type SYS_BLOCKING STANDARD SYSTEM sys_blocking +type SYS_WRITE_BUF TEMPORARY SYSTEM sys_write_buf +endif |