ruby/ext/-test-
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
..
arith_seq/extract ../arith_seq/../extract.c: remove unused variable 2018-12-21 16:19:31 +00:00
array/resize Update dependencies 2016-07-06 05:48:13 +00:00
bignum ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
bug-3571 ext/-test-: reduce feature names 2016-01-10 09:43:47 +00:00
bug-5832 ext/-test-: reduce feature names 2016-01-10 09:43:47 +00:00
bug_reporter ext/-test-: reduce feature names 2016-01-10 09:43:47 +00:00
class Update dependencies 2016-07-06 05:48:13 +00:00
debug auto_ext.rb 2016-05-29 03:08:45 +00:00
dln/empty Update dependencies 2016-07-06 05:48:13 +00:00
exception UNREACHABLE_RETURN 2018-07-24 05:38:07 +00:00
fatal handle ext/ as r53141 2015-12-16 05:31:54 +00:00
file ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
float auto_ext.rb 2016-05-29 03:08:45 +00:00
funcall ruby.h: relax rb_funcall check on extra args for clang 2018-01-30 23:55:49 +00:00
gvl/call_without_gvl introduce rb_nogvl C-API to mark ubf as async-signal-safe 2019-01-04 13:14:11 +00:00
hash auto_ext.rb 2016-05-29 03:08:45 +00:00
integer ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
iseq_load ext/-test-: reduce feature names 2016-01-10 09:43:47 +00:00
iter UNREACHABLE_RETURN 2018-07-24 05:38:07 +00:00
load load.c: fix rb_load_protect condition 2017-09-24 05:22:23 +00:00
marshal handle ext/ as r53141 2015-12-16 05:31:54 +00:00
memory_status long long is a C99ism 2018-01-02 06:41:47 +00:00
method auto_ext.rb 2016-05-29 03:08:45 +00:00
notimplement Add more assertions for NotImplementedError of instance method 2018-08-21 14:57:56 +00:00
num2int ext/-test-: reduce feature names 2016-01-10 09:43:47 +00:00
path_to_class ext/-test-: reduce feature names 2016-01-10 09:43:47 +00:00
popen_deadlock handle ext/ as r53141 2015-12-16 05:31:54 +00:00
postponed_job handle ext/ as r53141 2015-12-16 05:31:54 +00:00
printf sprintf.c: NULL as str 2017-09-09 09:16:59 +00:00
proc auto_ext.rb 2016-05-29 03:08:45 +00:00
rational ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
recursion handle ext/ as r53141 2015-12-16 05:31:54 +00:00
regexp regparse.c: initialize return values 2017-02-20 09:46:12 +00:00
scan_args ruby.h: fix rb_scan_args_trail_idx 2017-08-19 23:39:03 +00:00
st Introduce table improvement by Vladimir Makarov <vmakarov@redhat.com>. 2016-11-07 00:45:00 +00:00
string UNREACHABLE_RETURN 2018-07-24 05:38:07 +00:00
struct fix ext/-test-/struct/ dependencies 2017-04-15 07:13:05 +00:00
symbol symbol/init.c: ID value 2017-02-12 02:48:28 +00:00
thread_fd_close thread.c: avoid busy looping on rb_thread_fd_close 2017-06-07 00:32:02 +00:00
time Fixup r63864 2018-07-06 01:53:57 +00:00
tracepoint Update dependencies. 2016-04-11 11:50:00 +00:00
typeddata test for [Bug #12670] 2017-06-19 14:36:17 +00:00
vm Update dependencies 2016-07-06 05:48:13 +00:00
wait_for_single_fd -test-/wait_for_single_fd: fix -Wformat-security warning 2018-05-15 01:29:14 +00:00
win32 test_console_attr.rb: fix test 2018-01-15 12:25:24 +00:00
auto_ext.rb * ext/-test-/auto_ext.rb: fixed a heedless bug introduced at r55198. 2016-05-29 15:10:44 +00:00