summaryrefslogtreecommitdiff
path: root/internal/cont.h
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-02-09 19:39:56 +1300
committerGitHub <noreply@github.com>2021-02-09 19:39:56 +1300
commit5f69a7f60467fa58c2f998daffab43e118bff36c (patch)
treef60e3a5add29eb9cc7e68433c4e373e2a2facab7 /internal/cont.h
parent3c593f28ede99b77d4fe3258f9bda78dcee238a3 (diff)
downloadruby-5f69a7f60467fa58c2f998daffab43e118bff36c.tar.gz
Expose scheduler as public interface & bug fixes. (#3945)
* Rename `rb_scheduler` to `rb_fiber_scheduler`. * Use public interface if available. * Use `rb_check_funcall` where possible. * Don't use `unblock` unless the fiber was non-blocking.
Diffstat (limited to 'internal/cont.h')
-rw-r--r--internal/cont.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/cont.h b/internal/cont.h
index a365cbe978..9e49dd3c8e 100644
--- a/internal/cont.h
+++ b/internal/cont.h
@@ -21,5 +21,6 @@ void ruby_register_rollback_func_for_ensure(VALUE (*ensure_func)(VALUE), VALUE (
void rb_fiber_init_mjit_cont(struct rb_fiber_struct *fiber);
VALUE rb_fiberptr_self(struct rb_fiber_struct *fiber);
+unsigned int rb_fiberptr_blocking(struct rb_fiber_struct *fiber);
#endif /* INTERNAL_CONT_H */