mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
23444302d9
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 |
||
---|---|---|
.. | ||
arith_seq/extract | ||
array/resize | ||
bignum | ||
bug-3571 | ||
bug-5832 | ||
bug_reporter | ||
class | ||
debug | ||
dln/empty | ||
exception | ||
fatal | ||
file | ||
float | ||
funcall | ||
gvl/call_without_gvl | ||
hash | ||
integer | ||
iseq_load | ||
iter | ||
load | ||
marshal | ||
memory_status | ||
method | ||
notimplement | ||
num2int | ||
path_to_class | ||
popen_deadlock | ||
postponed_job | ||
printf | ||
proc | ||
rational | ||
recursion | ||
regexp | ||
scan_args | ||
st | ||
string | ||
struct | ||
symbol | ||
thread_fd_close | ||
time | ||
tracepoint | ||
typeddata | ||
vm | ||
wait_for_single_fd | ||
win32 | ||
auto_ext.rb |