Ruby: internal/cont.h Source File

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 */
18 VALUE rb_obj_is_fiber(VALUE);
19void rb_fiber_reset_root_local_storage(struct rb_thread_struct *);
20 void ruby_register_rollback_func_for_ensure(VALUE (*ensure_func)(VALUE), VALUE (*rollback_func)(VALUE));
21void rb_fiber_init_mjit_cont(struct rb_fiber_struct *fiber);
22
23 VALUE rb_fiberptr_self(struct rb_fiber_struct *fiber);
24unsigned int rb_fiberptr_blocking(struct rb_fiber_struct *fiber);
25
26#endif /* INTERNAL_CONT_H */
rb_fiber_reset_root_local_storage
void rb_fiber_reset_root_local_storage(struct rb_thread_struct *)
Definition: cont.c:2438
rb_fiberptr_self
VALUE rb_fiberptr_self(struct rb_fiber_struct *fiber)
Definition: cont.c:1153
ruby_register_rollback_func_for_ensure
void ruby_register_rollback_func_for_ensure(VALUE(*ensure_func)(VALUE), VALUE(*rollback_func)(VALUE))
rb_obj_is_fiber
VALUE rb_obj_is_fiber(VALUE)
Definition: cont.c:1060
rb_fiber_init_mjit_cont
void rb_fiber_init_mjit_cont(struct rb_fiber_struct *fiber)
Definition: cont.c:1165
rb_fiberptr_blocking
unsigned int rb_fiberptr_blocking(struct rb_fiber_struct *fiber)
Definition: cont.c:1158
ruby.h
rb_fiber_struct
Definition: cont.c:234
rb_thread_struct
Definition: vm_core.h:935
VALUE
unsigned long VALUE
Definition: value.h:38