--- nono/lib/testatomic.cpp 2026/04/29 17:04:28 1.1 +++ nono/lib/testatomic.cpp 2026/04/29 17:04:49 1.1.1.4 @@ -1,9 +1,10 @@ // // nono -// Copyright (C) 2018 isaki@NetBSD.org +// Copyright (C) 2020 nono project +// Licensed under nono-license.txt // -#include "config.h" +#include "config-nono.h" #include #include #include @@ -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; }