Unsupervise tasks before the scheduler kills them. Unblock before yield->fail
This commit is contained in:
@@ -255,6 +255,9 @@ rust_task::yield(size_t time_in_us) {
|
||||
name, this, time_in_us);
|
||||
|
||||
if (killed) {
|
||||
if (blocked()) {
|
||||
unblock();
|
||||
}
|
||||
killed = false;
|
||||
fail();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user