From 2a38f96b98aac6755e6f49914ac58d26c826f040 Mon Sep 17 00:00:00 2001 From: zhangxinyu <840317537@qq.com> Date: Wed, 24 May 2023 09:33:53 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E5=BC=80=E5=A7=8B=E5=AE=9E=E7=8E=B0t?= =?UTF-8?q?ask=20context=20=E6=89=80=E4=BB=A5,=20=E7=8E=B0=E5=9C=A8?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E5=87=BA=E5=8F=AF=E4=BB=A5=E4=B8=BB=E5=8A=A8?= =?UTF-8?q?=E8=AE=A9=E5=87=BAcpu=E7=9A=84=E7=94=A8=E6=88=B7=E5=BA=94?= =?UTF-8?q?=E7=94=A8"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 9b6bfc7c870e3c27af4ed3b0875ca78fdcb56329. --- ch3-coop/user/src/bin/00write_a.rs | 2 +- ch3-coop/user/src/bin/01write_b.rs | 2 +- ch3-coop/user/src/bin/02write_c.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ch3-coop/user/src/bin/00write_a.rs b/ch3-coop/user/src/bin/00write_a.rs index 3303899..67088ed 100644 --- a/ch3-coop/user/src/bin/00write_a.rs +++ b/ch3-coop/user/src/bin/00write_a.rs @@ -13,7 +13,7 @@ fn main() -> i32 { print!("A"); } println!(" [{}/{}]", i + 1, HEIGHT); - sys_yield(); + // sys_yield(); } println!("Test write_a OK!"); 0 diff --git a/ch3-coop/user/src/bin/01write_b.rs b/ch3-coop/user/src/bin/01write_b.rs index 64bd665..1ae798f 100644 --- a/ch3-coop/user/src/bin/01write_b.rs +++ b/ch3-coop/user/src/bin/01write_b.rs @@ -13,7 +13,7 @@ fn main() -> i32 { print!("B"); } println!(" [{}/{}]", i + 1, HEIGHT); - sys_yield(); + // sys_yield(); } println!("Test write_b OK!"); 0 diff --git a/ch3-coop/user/src/bin/02write_c.rs b/ch3-coop/user/src/bin/02write_c.rs index 25464bf..f9c8f71 100644 --- a/ch3-coop/user/src/bin/02write_c.rs +++ b/ch3-coop/user/src/bin/02write_c.rs @@ -13,7 +13,7 @@ fn main() -> i32 { print!("C"); } println!(" [{}/{}]", i + 1, HEIGHT); - sys_yield(); + // sys_yield(); } println!("Test write_c OK!"); 0