summaryrefslogtreecommitdiff
path: root/internal/ractor.h
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2022-03-30 14:46:18 +0900
committerYusuke Endoh <mame@ruby-lang.org>2022-03-30 16:50:46 +0900
commit5df2589b64127e86247de26d4db727a62764a869 (patch)
tree42b4c91ac4a0bce52a5c50474c314b82ac026009 /internal/ractor.h
parent2ade40276be9f60ed06e7011b41a4c90f03e59b4 (diff)
internal/ractor.h: Added
Currently it has only one function prototype.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5703
Diffstat (limited to 'internal/ractor.h')
-rw-r--r--internal/ractor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/ractor.h b/internal/ractor.h
new file mode 100644
index 0000000000..eef5ffdb89
--- /dev/null
+++ b/internal/ractor.h
@@ -0,0 +1,6 @@
+#ifndef INTERNAL_RACTOR_H /*-*-C-*-vi:se ft=c:*/
+#define INTERNAL_RACTOR_H
+
+void rb_ractor_ensure_main_ractor(const char *msg);
+
+#endif /* INTERNAL_RACTOR_H */