From a9e7629b3821c5f09a1f7450565b80441494a05a Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Tue, 2 Oct 2012 16:59:58 +0400 Subject: [PATCH] Fix AO_load primitive name in comment * src/atomic_ops.h: Fix 'load' primitive name in comment (replace AO_load_release_read with AO_load_acquire_read). --- src/atomic_ops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atomic_ops.h b/src/atomic_ops.h index dbeacdd..cddcaf9 100644 --- a/src/atomic_ops.h +++ b/src/atomic_ops.h @@ -118,7 +118,7 @@ /* data.x = ...; data.y = ...; ... */ /* AO_store_release_write(&data_is_initialized, 1) */ /* then data is guaranteed to be initialized after the test */ -/* if (AO_load_release_read(&data_is_initialized)) ... */ +/* if (AO_load_acquire_read(&data_is_initialized)) ... */ /* succeeds. Furthermore, this should generate near-optimal */ /* code on all common platforms. */ /* */ -- 2.7.4