rt: Add comments to rust_task::yield
This commit is contained in:
@@ -275,6 +275,7 @@ rust_task::yield(size_t time_in_us) {
|
|||||||
name, this, time_in_us);
|
name, this, time_in_us);
|
||||||
|
|
||||||
if (killed && !dead()) {
|
if (killed && !dead()) {
|
||||||
|
// Receive may have blocked before yielding
|
||||||
unblock();
|
unblock();
|
||||||
fail();
|
fail();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user