Turn *_REMOTE into *_SHARED
[urcu.git] / urcu.c
diff --git a/urcu.c b/urcu.c
index b04b121344c5e0d425c0d2cfaee34a662ecb8cbf..8cb32a117bb065405ca3f45e0224dfe8fbebbf5d 100644 (file)
--- a/urcu.c
+++ b/urcu.c
@@ -105,7 +105,7 @@ static void force_mb_single_thread(pthread_t tid)
         * Wait for sighandler (and thus mb()) to execute on every thread.
         * BUSY-LOOP.
         */
-       while (LOAD_REMOTE(sig_done) < 1)
+       while (LOAD_SHARED(sig_done) < 1)
                cpu_relax();
        smp_mb();       /* read sig_done before ending the barrier */
 }
@@ -134,7 +134,7 @@ static void force_mb_all_threads(void)
         * Wait for sighandler (and thus mb()) to execute on every thread.
         * BUSY-LOOP.
         */
-       while (LOAD_REMOTE(sig_done) < num_readers)
+       while (LOAD_SHARED(sig_done) < num_readers)
                cpu_relax();
        smp_mb();       /* read sig_done before ending the barrier */
 }
This page took 0.022626 seconds and 4 git commands to generate.