1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core
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
..
argf
array Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
basicobject
binding
builtin_constants
class
comparable Comparable#clamp with a range [Feature #14784] 2019-10-16 01:42:34 +09:00
complex
dir Update to ruby/spec@34e6246 2019-09-29 19:13:37 +02:00
encoding Update to ruby/spec@519df35 2019-09-29 16:03:58 +02:00
enumerable Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
enumerator Update to ruby/spec@e69a14c 2019-09-29 18:01:32 +02:00
env Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
exception Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
false
fiber
file Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
filetest
float
gc Update to ruby/spec@e69a14c 2019-09-29 18:01:32 +02:00
hash Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
integer
io Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
kernel Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
main
marshal Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
matchdata Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
math
method Update to ruby/spec@519df35 2019-09-29 16:03:58 +02:00
module Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
mutex Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
nil
numeric Update to ruby/spec@519df35 2019-09-29 16:03:58 +02:00
objectspace
proc
process Exclude some clocks on armv8 too 2019-11-06 23:10:15 +01:00
queue
random Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
range Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
rational
regexp Fix warnings in Regexp#{match,match?} specs 2019-11-03 11:25:42 +01:00
signal
sizedqueue
string Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
struct
symbol Deprecate taint/trust and related methods, and make the methods no-ops 2019-11-18 01:00:25 +02:00
systemexit
thread check interrupts at each frame pop timing. 2019-11-29 17:47:02 +09:00
threadgroup
time Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
tracepoint
true
unboundmethod Update to ruby/spec@519df35 2019-09-29 16:03:58 +02:00
warning