Skip to content

Commit daeb0cb

Browse files
committed
[wip] test arceos-apps
1 parent 114dfb2 commit daeb0cb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rust/task/affinity/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

scripts/get_deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
AX_ROOT=.arceos
44

55
test ! -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

0 commit comments

Comments
 (0)