From f0a11d14447fbdff323be862a2d8f21030448862 Mon Sep 17 00:00:00 2001 From: Yu Chen Date: Fri, 29 Apr 2022 11:48:44 +0800 Subject: [PATCH] fix typo --- user/src/bin/stackful_coroutine.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/src/bin/stackful_coroutine.rs b/user/src/bin/stackful_coroutine.rs index 63ac9ca2..d5896969 100644 --- a/user/src/bin/stackful_coroutine.rs +++ b/user/src/bin/stackful_coroutine.rs @@ -134,7 +134,7 @@ impl Runtime { /// into the CPU which then resumes based on the context it was just passed. /// /// NOITCE: if we comment below `#[inline(never)]`, we can not get the corrent running result - //#[inline(never)] + #[inline(never)] fn t_yield(&mut self) -> bool { let mut pos = self.current; while self.tasks[pos].state != State::Ready {