diff options
| author | toddaaro <github@opprobrio.us> | 2013-06-26 16:41:00 -0700 |
|---|---|---|
| committer | toddaaro <github@opprobrio.us> | 2013-07-01 16:14:56 -0700 |
| commit | 5cfad4b6de3a9ab749c975338c23fc2e20b0beec (patch) | |
| tree | 76891a17d34f8418a466429b7e121c3ebb4cd400 /src/libstd/rt/uv | |
| parent | e65d0cbabebc73f2c9733a7ed158576c9702e71e (diff) | |
Refactored the runtime to view coroutines as a component of tasks, instead of tasks as a component of coroutines.
Diffstat (limited to 'src/libstd/rt/uv')
| -rw-r--r-- | src/libstd/rt/uv/uvio.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libstd/rt/uv/uvio.rs b/src/libstd/rt/uv/uvio.rs index 298277b3df0..b1708e70733 100644 --- a/src/libstd/rt/uv/uvio.rs +++ b/src/libstd/rt/uv/uvio.rs @@ -29,7 +29,10 @@ use unstable::sync::{Exclusive, exclusive}; #[cfg(test)] use container::Container; #[cfg(test)] use uint; #[cfg(test)] use unstable::run_in_bare_thread; -#[cfg(test)] use rt::test::*; +#[cfg(test)] use rt::test::{spawntask_immediately, + next_test_ip4, + run_in_newsched_task}; + pub struct UvEventLoop { uvio: UvIoFactory |
