1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/-test-
Koichi Sasada 36da0b3da1 check interrupts at each frame pop timing.
Asynchronous events such as signal trap, finalization timing,
thread switching and so on are managed by "interrupt_flag".
Ruby's threads check this flag periodically and if a thread
does not check this flag, above events doesn't happen.

This checking is CHECK_INTS() (related) macro and it is placed
at some places (laeve instruction and so on). However, at the end
of C methods, C blocks (IMEMO_IFUNC) etc there are no checking
and it can introduce uninterruptible thread.

To modify this situation, we decide to place CHECK_INTS() at
vm_pop_frame(). It increases interrupt checking points.
[Bug #16366]

This patch can introduce unexpected events...
2019-11-29 17:47:02 +09:00
..
arith_seq/extract Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
array/resize Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
bignum Update dependencies 2019-11-18 23:16:22 +09:00
bug-3571 fix arity of bug_start 2019-08-29 18:34:09 +09:00
bug-5832 Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
bug-14834 ext/-test-/bug-14834/bug-14384.c: fallback for MAYBE_UNUSED 2019-08-01 21:09:59 +09:00
bug_reporter Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
class Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
cxxanyargs Check -1 arity for C++ 2019-11-22 18:42:49 +09:00
debug Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
dln/empty Update dependencies 2016-07-06 05:48:13 +00:00
enumerator_kw Remove unneeded exec bits from some files 2019-11-09 21:36:30 +09:00
exception Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
fatal Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
file atime may not updated unless strictatime is set on macOS Catalina 2019-10-12 14:58:55 +09:00
float Revert the line for nextafter.c for FreeBSD make 2019-11-20 15:37:05 +09:00
funcall Add three more C-API functions for handling keywords 2019-09-29 18:31:08 -07:00
gvl/call_without_gvl Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
hash Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
integer Update dependencies 2019-11-18 23:16:22 +09:00
iseq_load Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
iter Fix more keyword separation issues 2019-09-26 19:24:58 -07:00
load Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
marshal Warn instance variable E 2019-08-10 13:18:41 +09:00
memory_status Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
method Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
notimplement Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
num2int Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
path_to_class Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
popen_deadlock Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
postponed_job check interrupts at each frame pop timing. 2019-11-29 17:47:02 +09:00
printf Update dependencies 2019-11-18 23:16:22 +09:00
proc Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
rational Update dependencies 2019-11-18 23:16:22 +09:00
rb_call_super_kw Remove unneeded exec bits from some files 2019-11-09 21:36:30 +09:00
recursion Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
regexp Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
scan_args Remove unneeded exec bits from some files 2019-11-09 21:36:30 +09:00
st st_foreach now free from ANYARGS 2019-08-27 15:52:26 +09:00
string Update dependencies 2019-11-18 23:16:22 +09:00
struct Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
symbol DEBUG: cxxanyargs 2019-09-19 10:46:52 +09:00
thread_fd_close Update dependencies 2019-11-18 23:16:22 +09:00
time Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
tracepoint rb_ensure now free from ANYARGS 2019-08-27 15:52:26 +09:00
typeddata Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
vm Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09:00
wait_for_single_fd Include ruby/assert.h in ruby/ruby.h so that assertions can be there 2019-07-14 17:58:03 +09: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