Skip to content

Commit 6bc10f7

Browse files
committed
minor udpate
1 parent 16d3313 commit 6bc10f7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/executor.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,10 @@ impl Executor {
117117
let has_other_task = runtime.weak_executor_num() != 0;
118118
drop(runtime);
119119
if has_other_task {
120-
error!("no future to run, need yield");
120+
trace!("no future to run, need yield");
121121
crate::runtime::sched_yield();
122122
} else {
123-
error!(
124-
"no other tasks, wait for interrupt, intr = {}",
125-
crate::arch::intr_get()
126-
);
123+
trace!("no other tasks, wait for interrupt");
127124
crate::arch::wait_for_interrupt();
128125
}
129126
// debug!("switch back to strong executor");

0 commit comments

Comments
 (0)