summaryrefslogtreecommitdiffstats
path: root/libdimension
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension')
-rw-r--r--libdimension/pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/pool.c b/libdimension/pool.c
index c969bca..8973371 100644
--- a/libdimension/pool.c
+++ b/libdimension/pool.c
@@ -58,7 +58,7 @@ dmnsn_new_pool(void)
{
dmnsn_pool *pool = DMNSN_MALLOC(dmnsn_pool);
dmnsn_key_create(&pool->thread_block, NULL);
- atomic_init(&pool->chain, NULL);
+ atomic_store_explicit(&pool->chain, NULL, memory_order_relaxed);
return pool;
}