1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/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
..
-test- introduce rb_nogvl C-API to mark ubf as async-signal-safe 2019-01-04 13:14:11 +00:00
bigdecimal Import bigdecimal 1.4.2 2018-12-26 08:17:30 +00:00
cgi/escape Revert "ext/cgi/escape: preserve String subclass in result" 2018-05-03 01:24:09 +00:00
continuation
coverage ext/coverage/lib/coverage.rb (Coverage.line_stub): use only line events 2018-12-20 10:17:37 +00:00
date Separate RSTRING_PTR from a function call 2018-12-13 05:09:58 +00:00
dbm Removed needless date attribute from gemspec of default gems. 2018-08-07 12:02:10 +00:00
digest
etc Retry r65211. 2018-10-20 10:30:42 +00:00
fcntl Removed needless date attribute from gemspec of default gems. 2018-08-07 12:02:10 +00:00
fiber
fiddle fix typo. 2018-10-20 07:40:45 +00:00
gdbm Removed needless date attribute from gemspec of default gems. 2018-08-07 12:02:10 +00:00
io io-console.gemspec: update 2018-12-27 04:21:53 +00:00
json Fix JSON::Parser against bigdecimal updates 2018-12-02 05:21:57 +00:00
nkf Revert "* expand tabs." 2018-12-15 14:45:36 +00:00
objspace * expand tabs. 2018-12-31 15:00:52 +00:00
openssl errno.h must be included after config.h because config.h might define 2018-11-21 20:39:09 +00:00
pathname Pathname#relative_path_from uses is_a? 2018-12-18 03:09:54 +00:00
psych Bump version to psych 3.1.0. 2018-12-18 02:01:39 +00:00
pty [doc] Fix grammar typo in Pty_init() docstring [ci skip] 2018-11-16 04:25:07 +00:00
racc/cparse
rbconfig/sizeof
readline readline.c: improve docs 2018-10-12 20:37:30 +00:00
ripper Method reference operator 2018-12-31 15:00:37 +00:00
rubyvm Disable tailcall optimization [Bug #15303] 2018-12-12 05:46:13 +00:00
sdbm Removed needless date attribute from gemspec of default gems. 2018-08-07 12:02:10 +00:00
socket Fix indents [ci skip] 2018-12-31 14:59:29 +00:00
stringio Merge stringio.gemspec from github repository. 2018-11-28 02:38:29 +00:00
strscan Removed needless date attribute from gemspec of default gems. 2018-08-07 12:02:10 +00:00
syslog
win32 Win32API.rb: use uplevel option to warn 2018-04-02 12:39:01 +00:00
win32ole Fix call-seq of OpenSSL.fips_mode and WIN32OLE_METHOD#name [ci skip] 2018-11-01 07:25:50 +00:00
zlib introduce rb_nogvl C-API to mark ubf as async-signal-safe 2019-01-04 13:14:11 +00:00
.document
extmk.rb Let sub-directory exts depend on their parent ext 2018-12-01 09:29:14 +00:00
Setup
Setup.atheos
Setup.nt