diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-09-16 10:49:41 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-09-16 11:08:01 -0700 |
| commit | 4028a099f525c5368aa385283a2e88073ba2b3ea (patch) | |
| tree | 48b2e4218da05be70c1a640ad55deb999eacb9cb /src/rt/rust_builtin.cpp | |
| parent | 172df2e3a224f58eb0fe162436fa1aa8d87e224b (diff) | |
| download | rust-4028a099f525c5368aa385283a2e88073ba2b3ea.tar.gz rust-4028a099f525c5368aa385283a2e88073ba2b3ea.zip | |
Yield after send
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } } |
