1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-22 08:06:17 +04:00
rCore/kernel
Runji Wang af83913188 fix data racing on thread crate
The key point is that all methods on 'Processor' must be called with interrupt disabled. Otherwise if an interrupt happened inside a method, and then the thread is switched to other CPUs, it will touch other 'Processor'.
2019-11-30 18:11:26 +08:00
..
src fix data racing on thread crate 2019-11-30 18:11:26 +08:00
targets riscv: rename 'arch/riscv32' to 'arch/riscv' 2019-11-30 15:48:12 +08:00
build.rs Pass the environment variable SMP to consts::SMP_CORES 2019-09-29 15:36:43 +08:00
Cargo.lock fix data racing on thread crate 2019-11-30 18:11:26 +08:00
Cargo.toml fix data racing on thread crate 2019-11-30 18:11:26 +08:00
Makefile riscv: rename 'arch/riscv32' to 'arch/riscv' 2019-11-30 15:48:12 +08:00