From a092b16cea89a621a4ab72799972b4b76973f19e Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Mon, 26 Sep 2022 12:51:11 -0500 Subject: [PATCH] fixed atomics test case --- tests/atomics.onyx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/atomics.onyx b/tests/atomics.onyx index 7c3b34b2..be503a45 100644 --- a/tests/atomics.onyx +++ b/tests/atomics.onyx @@ -16,7 +16,7 @@ shared_mutex : sync.Mutex; // This is shared, and exists to test that initializing new threads // does not re-execute the intialization segments. -test := 5678; +test_var := 5678; print_from_other_thread :: (sd) => { // Creating high contention for the shared resource @@ -38,8 +38,8 @@ print_from_other_thread :: (sd) => { main :: (args) => { sync.mutex_init(^shared_mutex); - test = 1234; - println(test); + test_var = 1234; + println(test_var); sd: Shared_Data; sd.arr = make([] i32, 1000); -- 2.25.1