rt: Remove some stack-wasting macros from rust_task::yield
This commit is contained in:
@@ -268,11 +268,7 @@ rust_task::grow(size_t n_frame_bytes)
|
||||
// Only run this on the rust stack
|
||||
void
|
||||
rust_task::yield(size_t time_in_us, bool *killed) {
|
||||
LOG(this, task, "task %s @0x%" PRIxPTR " yielding for %d us",
|
||||
name, this, time_in_us);
|
||||
|
||||
if (this->killed) {
|
||||
A(sched, !blocked(), "Shouldn't be blocked before failing");
|
||||
*killed = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user