diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2020-11-18 10:52:56 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2020-11-18 10:52:56 +0900 |
commit | a776032ef183d6bc1236b2306ada5611b4d6849f (patch) | |
tree | c1f827748a9640b59a0c7200e1a4f0ea5d4e309a /ractor_core.h | |
parent | 519062b3501a128d917cc599184f2b72f38e9c0c (diff) | |
download | ruby-a776032ef183d6bc1236b2306ada5611b4d6849f.tar.gz |
Move the declaration into the function
instead of 'do not call it directly.' comment.
Diffstat (limited to 'ractor_core.h')
-rw-r--r-- | ractor_core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ractor_core.h b/ractor_core.h index 41bd14faad..07528cc69c 100644 --- a/ractor_core.h +++ b/ractor_core.h @@ -160,6 +160,10 @@ void rb_ractor_terminate_interrupt_main_thread(rb_ractor_t *r); void rb_ractor_terminate_all(void); bool rb_ractor_main_p_(void); +RUBY_SYMBOL_EXPORT_BEGIN +bool rb_ractor_shareable_p_continue(VALUE obj); +RUBY_SYMBOL_EXPORT_END + RUBY_EXTERN bool ruby_multi_ractor; static inline bool |