Commit 58872715 authored by Grégory Mounié's avatar Grégory Mounié

Un "release" devrait suffire pour rester juste

parent 0e725620
......@@ -19,7 +19,7 @@ atomic_int tour_mm;
void debut_sc_mm(int me, int other) {
debut:
atomic_store_explicit(& demande_mm[me], true,
memory_order_seq_cst);
memory_order_release);
if (atomic_load_explicit(& demande_mm[other],
memory_order_acquire)) {
if (atomic_load_explicit(& tour_mm,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment