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