summaryrefslogtreecommitdiff
path: root/otherlibs/systhreads/threads.h
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/systhreads/threads.h')
-rw-r--r--otherlibs/systhreads/threads.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/systhreads/threads.h b/otherlibs/systhreads/threads.h
index 9b3bd1d67c..746624256a 100644
--- a/otherlibs/systhreads/threads.h
+++ b/otherlibs/systhreads/threads.h
@@ -18,8 +18,8 @@
CAMLextern void caml_enter_blocking_section (void);
CAMLextern void caml_leave_blocking_section (void);
-#define caml_release_runtime_system caml_leave_blocking_section
-#define caml_acquire_runtime_system caml_enter_blocking_section
+#define caml_acquire_runtime_system caml_leave_blocking_section
+#define caml_release_runtime_system caml_enter_blocking_section
/* Manage the master lock around the Caml run-time system.
Only one thread at a time can execute Caml compiled code or