Ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e0ba6b95ab71a441357ed5484e33498)
cont.h
1#ifndef INTERNAL_CONT_H /*-*-C-*-vi:se ft=c:*/
2#define INTERNAL_CONT_H
11#include "ruby/ruby.h" /* for VALUE */
12
13struct rb_thread_struct; /* in vm_core.h */
14struct rb_fiber_struct; /* in cont.c */
15
16/* cont.c */
17void rb_fiber_reset_root_local_storage(struct rb_thread_struct *);
18void ruby_register_rollback_func_for_ensure(VALUE (*ensure_func)(VALUE), VALUE (*rollback_func)(VALUE));
19void rb_fiber_init_mjit_cont(struct rb_fiber_struct *fiber);
20
21VALUE rb_fiberptr_self(struct rb_fiber_struct *fiber);
22unsigned int rb_fiberptr_blocking(struct rb_fiber_struct *fiber);
23
24#endif /* INTERNAL_CONT_H */