1
Fork 0

Yield after send

This commit is contained in:
Brian Anderson 2011-09-16 10:49:41 -07:00
parent 172df2e3a2
commit 4028a099f5
2 changed files with 29 additions and 0 deletions

View file

@ -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();
}
}