Yield after send
This commit is contained in:
parent
172df2e3a2
commit
4028a099f5
2 changed files with 29 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue