1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/-ext-
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 Add test cases of rb_arithmetic_sequence_extract 2018-12-12 21:17:04 +00:00
array
bignum
bug_reporter test_bug_reporter.rb: make it work with --jit 2018-04-28 09:02:56 +00:00
class
debug * remove trailing spaces. 2018-09-21 06:41:09 +00:00
exception
file
float
funcall
gvl introduce rb_nogvl C-API to mark ubf as async-signal-safe 2019-01-04 13:14:11 +00:00
hash
integer
iseq_load test_iseq_load.rb: increase timeout for stressful roundtrip 2018-12-29 01:53:10 +00:00
iter
load
marshal
method
num2int
path_to_class
popen_deadlock
postponed_job
proc
rational
st
string
struct
symbol
thread_fd_close revert revert of r65285 2018-10-21 23:20:32 +00:00
time
tracepoint
typeddata
vm
wait_for_single_fd test_wait_for_single_fd.rb: remove with_pipe helper 2018-05-14 23:51:39 +00:00
win32
test_bug-3571.rb
test_bug-5832.rb
test_notimplement.rb Add more assertions for NotImplementedError of instance method 2018-08-21 14:57:56 +00:00
test_printf.rb
test_recursion.rb
test_scan_args.rb non-symbol keys in kwargs 2018-08-14 11:58:17 +00:00