summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-11-17 07:40:47 (GMT)
committerKoichi Sasada <ko1@atdot.net>2020-11-17 18:52:41 (GMT)
commit5e3259ea7490a2542d78c433eb8c9d44c7819e61 (patch)
tree1a280e725a2c66ca776086661e3b707fd73f4577 /thread.c
parent0683912db888b0421ce4c40ad450ccf75ad7e3f4 (diff)
fix public interface
To make some kind of Ractor related extensions, some functions should be exposed. * include/ruby/thread_native.h * rb_native_mutex_* * rb_native_cond_* * include/ruby/ractor.h * RB_OBJ_SHAREABLE_P(obj) * rb_ractor_shareable_p(obj) * rb_ractor_std*() * rb_cRactor and rm ractor_pub.h and rename srcdir/ractor.h to srcdir/ractor_core.h (to avoid conflict with include/ruby/ractor.h)
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3775
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index ad1f476..6747376 100644
--- a/thread.c
+++ b/thread.c
@@ -94,7 +94,7 @@
#include "ruby/thread_native.h"
#include "timev.h"
#include "vm_core.h"
-#include "ractor.h"
+#include "ractor_core.h"
#include "vm_debug.h"
#include "vm_sync.h"