1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include/ruby
normal 23444302d9 introduce rb_nogvl C-API to mark ubf as async-signal-safe
zlib and bignum both contain unblocking functions which are
async-signal-safe and do not require spawning additional
threads.

We can execute those functions directly in signal handlers
without incurring overhead of extra threads, so provide C-API
users the ability to deal with that.  Other C-API users may
have similar need.

This flexible API can supercede existing uses of
rb_thread_call_without_gvl and rb_thread_call_without_gvl2 by
introducing a flags argument to control behavior.

Note: this API is NOT finalized.  It needs approval from other
committers.  I prefer shorter name than previous
rb_thread_call_without_gvl* functions because my eyes requires
big fonts.

[Bug #15499]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-04 13:14:11 +00:00
..
backward
backward.h remove "deprecated" for rb_frame_method_id_and_class [Bug #15300] 2018-12-24 02:02:47 +00:00
debug.h Revert "vm_trace: implement postponed_jobs as st_table" 2018-10-23 03:47:45 +00:00
defines.h Introduce "COLDFUNC" function attribute. 2018-12-05 17:23:32 +00:00
encoding.h
intern.h remove "deprecated" for rb_frame_method_id_and_class [Bug #15300] 2018-12-24 02:02:47 +00:00
io.h errno.h must be included after config.h because config.h might define 2018-11-21 20:39:09 +00:00
missing.h
onigmo.h
oniguruma.h
re.h
regex.h
ruby.h Define HAVE_STMT_AND_DECL_IN_EXPR and use it [Bug #15293] 2018-12-10 13:58:36 +00:00
st.h support theap for T_HASH. [Feature #14989] 2018-10-30 22:11:51 +00:00
subst.h
thread.h introduce rb_nogvl C-API to mark ubf as async-signal-safe 2019-01-04 13:14:11 +00:00
thread_native.h
util.h
version.h version.h (RUBY_VERSION): 2.7.0 development has started. 2018-12-25 13:45:17 +00:00
vm.h use https:// instead of http:// 2018-07-28 10:00:27 +00:00
win32.h