Stage2: multiple user threads based on uniprocessor, see new added test race_adder and threads.
This commit is contained in:
parent
4fa4e9cab4
commit
a341b338c8
12 changed files with 254 additions and 57 deletions
|
@ -13,7 +13,6 @@ use user_lib::{
|
|||
|
||||
#[no_mangle]
|
||||
fn main() -> i32 {
|
||||
println!("start initproc!");
|
||||
if fork() == 0 {
|
||||
exec("user_shell\0", &[0 as *const u8]);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue