rt: Add an assert to the scheduler loop
This commit is contained in:
parent
e08f46db68
commit
8efe4b8913
@ -247,7 +247,8 @@ rust_task_thread::start_main_loop() {
|
||||
"all tasks are blocked, scheduler id %d yielding ...",
|
||||
id);
|
||||
lock.wait();
|
||||
reap_dead_tasks();
|
||||
A(this, dead_tasks.length() == 0,
|
||||
"Tasks should only die after running");
|
||||
DLOG(this, task,
|
||||
"scheduler %d resuming ...", id);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user