提交 25112990 编写于 作者: B Brian Anderson

test: Don't fill queue in run-pass/send-iloop. Closes #1244

上级 b8fcf0ab
......@@ -14,7 +14,10 @@ fn iloop(&&_i: ()) {
let p = comm::port::<()>();
let c = comm::chan(p);
while true {
// Sending and receiving here because these actions yield,
// at which point our child can kill us
comm::send(c, ());
comm::recv(p);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册