Merge remote-tracking branch 'brson/nocommupstream2'
This commit is contained in:
commit
83ca034d2e
25 changed files with 1682 additions and 1183 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue