19 Commits (ba4a24ba3be63cb1bacfa2f4e7bb7b4a501f8774)

Author SHA1 Message Date
WangRunji e5a196c00f Fix processor. Disable interrupt on switching.
6 years ago
WangRunji 5852881611 unwrap -> expect
6 years ago
WangRunji b7d6b2989d Fix bugs. Pass test 'spin'
6 years ago
WangRunji 74facd8e87 Use Vec to replace array in ProcessManager.
6 years ago
WangRunji 0680023e35 Recover wait/sleep
6 years ago
WangRunji c734f79699 Drop context when process exit. Remove util mod.
6 years ago
WangRunji 85a1dca684 Use weak linkage to provide dependencies for process::thread.
6 years ago
WangRunji 80b161db98 Recover set_priority and fork
6 years ago
WangRunji 5db908b1c5 Separate ProcessManager to a mod.
6 years ago
WangRunji f7eb09e856 Multicore processing WORKS! Basically ...
6 years ago
WangRunji fc2fd18c36 Add docs for thread::spawn()
6 years ago
WangRunji 7dd9494389 Add `Scheduler.move_to_head(pid)` to replace `Processor.next`
6 years ago
dzy 906019f7c6 Add little notes for BitAllocator
6 years ago
WangRunji b88648ff44 Fit for newest Rust nightly. x86_64 ok, riscv32 broken.
6 years ago
WangRunji a2111a928f Move thread mod to ucore-process crate
6 years ago
WangRunji 776dc976c9 Fix for user
6 years ago
WangRunji 06b39ed521 Impl remove any for StrideScheduler
6 years ago
WangRunji 04b62ec79f Use Vec instead of array in Scheduler
6 years ago
WangRunji c8a9eaf3e6 Split process mod to extern crate
6 years ago