commit | 04338d9f5ee4b5ccade2a4311e173ecf847a937d | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Sep 01 07:58:14 2021 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Sep 01 07:58:14 2021 +0200 |
tree | 2333c87bad6769b4174af7686dde8bcf1627b107 | |
parent | f3e0fa528399befa323a78eb7c19d7ddae1161e6 [diff] [blame] |
config REFACTOR built-in atomics implement memoery barrier
diff --git a/src/schema_compile.c b/src/schema_compile.c index f8ee4b7..bef6229 100644 --- a/src/schema_compile.c +++ b/src/schema_compile.c
@@ -1067,7 +1067,7 @@ return ret; } - LY_ATOMIC_INC_RELAXED(((struct lysc_type *)storage->realtype)->refcount); + LY_ATOMIC_INC_BARRIER(((struct lysc_type *)storage->realtype)->refcount); return LY_SUCCESS; }