diff options
Diffstat (limited to 'runtime/obj.c')
-rw-r--r-- | runtime/obj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/obj.c b/runtime/obj.c index cdaa4c1766..56db69f5fa 100644 --- a/runtime/obj.c +++ b/runtime/obj.c @@ -44,7 +44,7 @@ static int obj_tag (value arg) /* The acquire load ensures that reading the field of a Forward_tag block in stdlib/camlinternalLazy.ml:force_gen has the necessary synchronization. */ - hd = (header_t)atomic_load_acq(Hp_atomic_val(arg)); + hd = (header_t)atomic_load_acquire(Hp_atomic_val(arg)); return Tag_hd(hd); } } |