Ruby: internal/ractor.h Source File

Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)

ractor.h
1#ifndef INTERNAL_RACTOR_H /*-*-C-*-vi:se ft=c:*/
2#define INTERNAL_RACTOR_H
3
4void rb_ractor_ensure_main_ractor(const char *msg);
5
6RUBY_SYMBOL_EXPORT_BEGIN
7void rb_ractor_setup_belonging(VALUE obj);
8RUBY_SYMBOL_EXPORT_END
9
10#endif /* INTERNAL_RACTOR_H */
VALUE
uintptr_t VALUE
Type that represents a Ruby object.
Definition value.h:40