From 4028a099f525c5368aa385283a2e88073ba2b3ea Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 16 Sep 2011 10:49:41 -0700 Subject: Yield after send --- src/rt/rust_builtin.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/rt/rust_builtin.cpp') diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 99e7df606a8..cf883577f5c 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -551,6 +551,7 @@ chan_id_send(rust_task *task, type_desc *t, rust_task_id target_task_id, port->remote_chan->send(sptr); } target_task->deref(); + task->yield(); } } -- cgit 1.4.1-3-g733a5