Merge remote-tracking branch 'brson/nocommupstream2'

This commit is contained in:
Brian Anderson 2013-01-26 14:57:58 -08:00
commit 83ca034d2e
25 changed files with 1682 additions and 1183 deletions

View file

@ -27,7 +27,7 @@ proto! oneshot (
)
fn main() {
let iotask = uv::global_loop::get();
let iotask = &uv::global_loop::get();
pipes::spawn_service(oneshot::init, |p| {
match try_recv(move p) {

View file

@ -35,7 +35,7 @@ fn main() {
use oneshot::client::*;
use stream::client::*;
let iotask = uv::global_loop::get();
let iotask = &uv::global_loop::get();
let c = pipes::spawn_service(stream::init, |p| {
error!("waiting for pipes");

View file

@ -27,7 +27,7 @@ fn main() {
let c = pipes::spawn_service(oneshot::init, |p| { recv(move p); });
let iotask = uv::global_loop::get();
let iotask = &uv::global_loop::get();
sleep(iotask, 500);
signal(move c);