Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
cont.h
Go to the documentation of this file.
1#ifndef INTERNAL_CONT_H /*-*-C-*-vi:se ft=c:*/
2#define INTERNAL_CONT_H
12#include "ruby/ruby.h" /* for VALUE */
13
14struct rb_thread_struct; /* in vm_core.h */
15struct rb_fiber_struct; /* in cont.c */
16
17/* cont.c */
20void ruby_register_rollback_func_for_ensure(VALUE (*ensure_func)(VALUE), VALUE (*rollback_func)(VALUE));
22
24unsigned int rb_fiberptr_blocking(struct rb_fiber_struct *fiber);
25
26#endif /* INTERNAL_CONT_H */
void rb_fiber_reset_root_local_storage(struct rb_thread_struct *)
Definition: cont.c:2438
VALUE rb_fiberptr_self(struct rb_fiber_struct *fiber)
Definition: cont.c:1153
void ruby_register_rollback_func_for_ensure(VALUE(*ensure_func)(VALUE), VALUE(*rollback_func)(VALUE))
VALUE rb_obj_is_fiber(VALUE)
Definition: cont.c:1060
void rb_fiber_init_mjit_cont(struct rb_fiber_struct *fiber)
Definition: cont.c:1165
unsigned int rb_fiberptr_blocking(struct rb_fiber_struct *fiber)
Definition: cont.c:1158
unsigned long VALUE
Definition: value.h:38