rust/src/libstd/rt/io
Alex Crichton 9c1851019f Remove all blocking std::os blocking functions
This commit moves all thread-blocking I/O functions from the std::os module.
Their replacements can be found in either std::rt::io::file or in a hidden
"old_os" module inside of native::file. I didn't want to outright delete these
functions because they have a lot of special casing learned over time for each
OS/platform, and I imagine that these will someday get integrated into a
blocking implementation of IoFactory. For now, they're moved to a private module
to prevent bitrot and still have tests to ensure that they work.

I've also expanded the extensions to a few more methods defined on Path, most of
which were previously defined in std::os but now have non-thread-blocking
implementations as part of using the current IoFactory.

The api of io::file is in flux, but I plan on changing it in the next commit as
well.

Closes #10057
2013-11-03 15:15:42 -08:00
..
native Remove all blocking std::os blocking functions 2013-11-03 15:15:42 -08:00
net Remove all blocking std::os blocking functions 2013-11-03 15:15:42 -08:00
buffered.rs Make Writer::flush a no-op default method 2013-10-30 15:17:11 -07:00
comm_adapters.rs Make Writer::flush a no-op default method 2013-10-30 15:17:11 -07:00
extensions.rs libstd: Remove mocks. 2013-10-31 10:30:57 -07:00
file.rs Remove all blocking std::os blocking functions 2013-11-03 15:15:42 -08:00
flate.rs Removed Unnecessary comments and white spaces #4386 2013-10-23 01:10:50 +05:30
mem.rs Make Writer::flush a no-op default method 2013-10-30 15:17:11 -07:00
mod.rs Remove all blocking std::os blocking functions 2013-11-03 15:15:42 -08:00
option.rs Allow fail messages to be caught, and introduce the Any trait 2013-10-28 08:50:32 +01:00
pipe.rs Make Writer::flush a no-op default method 2013-10-30 15:17:11 -07:00
process.rs Migrate std::run to libuv processes 2013-10-24 14:22:35 -07:00
signal.rs Remove all blocking std::os blocking functions 2013-11-03 15:15:42 -08:00
stdio.rs auto merge of #10119 : Kimundi/rust/option_and_generic, r=alexcrichton 2013-11-01 09:36:25 -07:00
timer.rs Remove all blocking std::os blocking functions 2013-11-03 15:15:42 -08:00