--- nono/lib/testatomic.cpp 2026/04/29 17:04:31 1.1.1.2 +++ nono/lib/testatomic.cpp 2026/04/29 17:04:49 1.1.1.4 @@ -1,6 +1,7 @@ // // nono -// Copyright (C) 2018 isaki@NetBSD.org +// Copyright (C) 2020 nono project +// Licensed under nono-license.txt // #include "config-nono.h" @@ -140,7 +141,7 @@ test4_cons(void *arg) do { result += __atomic_exchange_8(&shared, 0, ATOMIC_TYPE); } while (terminate == 0); - // + // result += __atomic_exchange_8(&shared, 0, ATOMIC_TYPE); return NULL; }