about summary refs log tree commit diff
path: root/src/rt/sync/rust_thread.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-11-04 22:47:00 -0800
committerbors <bors@rust-lang.org>2013-11-04 22:47:00 -0800
commitbf98981696b244d182b89bc34df6d7894c1f3785 (patch)
tree4d9cbc87dd9bbb8dab499797215bb0bc3c39e450 /src/rt/sync/rust_thread.cpp
parent1c56652640c6f376cf454c63c7dd80eabe28ed5e (diff)
parent615444d26306ddaf62388c73ae1dc17e48b3b2e3 (diff)
downloadrust-bf98981696b244d182b89bc34df6d7894c1f3785.tar.gz
rust-bf98981696b244d182b89bc34df6d7894c1f3785.zip
auto merge of #10270 : alexcrichton/rust/no-super-buffer, r=brson
Right now if you're running a program with its output piped to some location and
the program decides to go awry, when you kill the program via some signal none
of the program's last 4K of output will get printed to the screen. In theory the
solution to this would be to register a signal handler as part of the runtime
which then flushes the output stream.

I believe that the current behavior is far enough from what's expected that we
shouldn't be providing this sort of "super buffering" by default when stdout
isn't attached to a tty.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions