diff options
Diffstat (limited to 'otherlibs/systhreads/st_stubs.c')
-rw-r--r-- | otherlibs/systhreads/st_stubs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/systhreads/st_stubs.c b/otherlibs/systhreads/st_stubs.c index 389a343b2d..09d56120a7 100644 --- a/otherlibs/systhreads/st_stubs.c +++ b/otherlibs/systhreads/st_stubs.c @@ -488,9 +488,9 @@ CAMLprim value caml_thread_initialize(value unit) CAMLprim value caml_thread_cleanup(value unit) { if (Tick_thread_running){ - atomic_store_rel(&Tick_thread_stop, 1); + atomic_store_release(&Tick_thread_stop, 1); st_thread_join(Tick_thread_id); - atomic_store_rel(&Tick_thread_stop, 0); + atomic_store_release(&Tick_thread_stop, 0); Tick_thread_running = 0; } |