remove a print in msgsend-ring-rw-arcs
This commit is contained in:
parent
f7f909a8cf
commit
79266c614d
@ -25,7 +25,6 @@ fn send(p: &pipe, msg: uint) {
|
|||||||
fn recv(p: &pipe) -> uint {
|
fn recv(p: &pipe) -> uint {
|
||||||
do p.write_cond |state, cond| {
|
do p.write_cond |state, cond| {
|
||||||
while vec::is_empty(*state) {
|
while vec::is_empty(*state) {
|
||||||
error!("have to wait");
|
|
||||||
cond.wait();
|
cond.wait();
|
||||||
}
|
}
|
||||||
vec::pop(*state)
|
vec::pop(*state)
|
||||||
|
Loading…
Reference in New Issue
Block a user