summary refs log tree commit diff
path: root/src/libstd/io/timer.rs
AgeCommit message (Collapse)AuthorLines
2013-12-24std: Expose that LocalIo may not always be availableAlex Crichton-12/+2
It is not the case that all programs will always be able to acquire an instance of the LocalIo borrow, so this commit exposes this limitation by returning Option<LocalIo> from LocalIo::borrow(). At the same time, a helper method LocalIo::maybe_raise() has been added in order to encapsulate the functionality of raising on io_error if there is on local I/O available.
2013-12-24std: Delete rt::testAlex Crichton-40/+23
This module contains many M:N specific concepts. This will no longer be available with libgreen, and most functions aren't really that necessary today anyway. New testing primitives will be introduced as they become available for 1:1 and M:N. A new io::test module is introduced with the new ip4/ip6 address helpers to continue usage in io tests.
2013-12-23std: Fix all code examplesAlex Crichton-1/+1
2013-12-16Fallout of rewriting std::commAlex Crichton-2/+2
2013-12-10librustuv: Change `with_local_io` to use RAII.Patrick Walton-11/+9
2013-11-26libstd: Remove all non-`proc` uses of `do` from libstdPatrick Walton-2/+2
2013-11-11Move std::rt::io to std::ioAlex Crichton-0/+186