File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,11 +59,11 @@ fn main() {
5959 assert_ne ! ( this_cpu_id( ) , cpu_id, "CPU affinity changes failed!" ) ;
6060 thread:: yield_now ( ) ;
6161 }
62- let _ = FINISHED_TASKS . fetch_add ( 1 , Ordering :: SeqCst ) ;
62+ let _ = FINISHED_TASKS . fetch_add ( 1 , Ordering :: Relaxed ) ;
6363 } ) ;
6464 }
6565
66- while FINISHED_TASKS . load ( Ordering :: SeqCst ) < NUM_TASKS {
66+ while FINISHED_TASKS . load ( Ordering :: Relaxed ) < NUM_TASKS {
6767 thread:: yield_now ( ) ;
6868 }
6969
Original file line number Diff line number Diff line change 33AX_ROOT=.arceos
44
55test ! -d " $AX_ROOT " && echo " Cloning repositories ..." || true
6- test ! -d " $AX_ROOT " && git clone https://github.com/arceos-org/arceos " $AX_ROOT " --depth=1 || true
6+ test ! -d " $AX_ROOT " && git clone -b axsync https://github.com/arceos-org/arceos " $AX_ROOT " --depth=1 || true
77
88$( dirname $0 ) /set_ax_root.sh $AX_ROOT
You can’t perform that action at this time.
0 commit comments