diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2020-05-14 22:10:55 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 22:10:55 +1200 |
commit | 0e3b0fcdba70cf96a8e0654eb8f50aacb8024bd4 (patch) | |
tree | 74d381412dfd8ff49dd3039f8aeae09ad9e4e6e3 /include/ruby/internal/intern/cont.h | |
parent | 336119dfc5e6baae0a936d6feae780a61975479c (diff) | |
download | ruby-0e3b0fcdba70cf96a8e0654eb8f50aacb8024bd4.tar.gz |
Thread scheduler for light weight concurrency.
Diffstat (limited to 'include/ruby/internal/intern/cont.h')
-rw-r--r-- | include/ruby/internal/intern/cont.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/internal/intern/cont.h b/include/ruby/internal/intern/cont.h index 6988f753c3..cfa5630af2 100644 --- a/include/ruby/internal/intern/cont.h +++ b/include/ruby/internal/intern/cont.h @@ -28,6 +28,7 @@ RBIMPL_SYMBOL_EXPORT_BEGIN() /* cont.c */ VALUE rb_fiber_new(rb_block_call_func_t, VALUE); +VALUE rb_fiber_new_kw(rb_block_call_func_t, VALUE, int kw_splat); VALUE rb_fiber_resume(VALUE fib, int argc, const VALUE *argv); VALUE rb_fiber_resume_kw(VALUE fib, int argc, const VALUE *argv, int kw_splat); VALUE rb_fiber_yield(int argc, const VALUE *argv); |