diff options
author | Koichi Sasada <[email protected]> | 2020-11-17 16:40:47 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2020-11-18 03:52:41 +0900 |
commit | 5e3259ea7490a2542d78c433eb8c9d44c7819e61 (patch) | |
tree | 1a280e725a2c66ca776086661e3b707fd73f4577 /eval.c | |
parent | 0683912db888b0421ce4c40ad450ccf75ad7e3f4 (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 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ #include "probes_helper.h" #include "ruby/vm.h" #include "vm_core.h" -#include "ractor.h" +#include "ractor_core.h" NORETURN(void rb_raise_jump(VALUE, VALUE)); void rb_ec_clear_current_thread_trace_func(const rb_execution_context_t *ec); |