diff options
Diffstat (limited to 'vm_sync.h')
-rw-r--r-- | vm_sync.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -4,6 +4,7 @@ #include "vm_core.h" #include "vm_debug.h" +#include "ractor_pub.h" #if USE_RUBY_DEBUG_LOG #define LOCATION_ARGS const char *file, int line @@ -26,8 +27,6 @@ void rb_vm_barrier(void); void rb_vm_cond_wait(rb_vm_t *vm, rb_nativethread_cond_t *cond); void rb_vm_cond_timedwait(rb_vm_t *vm, rb_nativethread_cond_t *cond, unsigned long msec); -extern bool ruby_multi_ractor; - static inline bool rb_multi_ractor_p(void) { |