From b7476045cc48bcd9b61e0c30a4aa948908677022 Mon Sep 17 00:00:00 2001 From: Yifan Wu Date: Wed, 19 Jan 2022 16:37:33 -0800 Subject: [PATCH] Maximum concurrent processes from 40/35->30. --- user/src/bin/matrix.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/src/bin/matrix.rs b/user/src/bin/matrix.rs index 8ef2c044..8f1357ea 100644 --- a/user/src/bin/matrix.rs +++ b/user/src/bin/matrix.rs @@ -6,7 +6,7 @@ extern crate user_lib; use user_lib::{fork, wait, yield_, exit, getpid, get_time}; -static NUM: usize = 35; +static NUM: usize = 30; const N: usize = 10; static P: i32 = 10007; type Arr = [[i32; N]; N]; @@ -65,4 +65,4 @@ pub fn main() -> i32 { assert!(wait(&mut exit_code) < 0); println!("matrix passed."); 0 -} \ No newline at end of file +}