1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
kosaki 9cbf473287 * vm_core.h (enum rb_thread_status): remove THREAD_TO_KILL
* vm_core.h (struct rb_thread_struct): add to_kill field
* thread.c (terminate_i): convert THREAD_TO_KILL to to_kill.
* thread.c (rb_threadptr_to_kill): ditto.
* thread.c (rb_thread_kill): ditto.
* thread.c (rb_thread_wakeup_alive): ditto.
* thread.c (thread_list_i): ditto.
* thread.c (static const char): ditto.
* thread.c (thread_status_name): ditto.
* thread.c (rb_thread_status): ditto.
* thread.c (rb_thread_inspect): ditto.
* vm_backtrace.c (thread_backtrace_to_ary): ditto.

* thread.c (rb_threadptr_execute_interrupts): fix thread status
  overwritten issue. [Bug #7450] [ruby-core:50249]

* test/ruby/test_thread.rb (test_hread_status_raise_after_kill):
  test for the above.
* test/ruby/test_thread.rb (test_thread_status_in_trap): test for
  thread status in trap.
* test/ruby/test_thread.rb (test_status_and_stop_p): remove
  Thread.control_interrupt unsafe test. Thread#kill no longer
  changes thread status. Instead of, Thread#kill receiver changes
  their own status when receiving kill signal.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-28 08:31:03 +00:00
..
-ext- st_update passes the key in st_table 2012-11-17 02:46:13 +00:00
base64 * ruby.c (load_file_internal): set default source encoding as 2012-11-06 00:49:57 +00:00
benchmark
bigdecimal * ext/bigdecimal/bigdecimal.c (BigDecimal_new), 2012-11-01 13:04:04 +00:00
cgi * test/cgi/test_cgi_core.rb: Add test for CGI#header. 2012-11-08 06:56:17 +00:00
coverage
csv remove trainling spaces. 2012-08-21 04:50:18 +00:00
date * test/date/test_date_{parse,strptime}.rb: changed the format of 2012-11-11 10:02:32 +00:00
dbm
digest ext/digest/digest.c (hexencode_str_new): return an ASCII string 2012-08-01 13:30:51 +00:00
dl * ext/fiddle/fiddle.c: adding alignment constants for compatibility 2012-11-28 00:02:49 +00:00
drb drbtest.rb: use :KILL on Windows 2012-09-29 11:19:02 +00:00
dtrace Define dtrace test classes only when dtrace exists 2012-11-13 08:52:34 +00:00
erb erb.rb: safe concurrent use 2012-11-09 14:33:11 +00:00
etc test_etc.rb: fix for non unique GID 2012-08-27 11:57:43 +00:00
fiddle * ext/fiddle/fiddle.c: adding alignment constants for compatibility 2012-11-28 00:02:49 +00:00
fileutils make FileUtils tests safe when interrupting in setup 2012-08-21 11:32:18 +00:00
gdbm
io io/wait: add IO#wait_writable method 2012-11-21 13:40:00 +00:00
irb
json revert r37326 "remove string literal concatenation" 2012-10-25 14:06:31 +00:00
logger * ruby.c (load_file_internal): set default source encoding as 2012-11-06 00:49:57 +00:00
matrix matrix.rb: complex vector 2012-09-03 05:49:06 +00:00
minitest Imported minitest 3.4.0 (r7762) 2012-09-05 23:24:58 +00:00
misc revert r37326 "remove string literal concatenation" 2012-10-25 14:06:31 +00:00
mkmf mkmf.rb: fix splitting options with an argument 2012-09-06 16:21:57 +00:00
monitor
net * lib/net/protocol.rb (Net::InternetMessageIO#each_crlf_line): 2012-11-08 10:04:24 +00:00
nkf
objspace test_objspace.rb: refine 2012-10-06 00:48:28 +00:00
open-uri * test/open-uri/test_open-uri.rb (TestOpenURI#test_read_timeout): this 2012-08-23 02:35:01 +00:00
openssl * ruby.c (load_file_internal): set default source encoding as 2012-11-06 00:49:57 +00:00
optparse
ostruct * lib/ostruct.rb: Add [] and []=, base on a patch by Thomas Sawyer 2012-10-28 21:20:10 +00:00
pathname
psych * ext/psych/lib/psych/visitors/yaml_tree.rb: use literal YAML style 2012-11-17 03:15:54 +00:00
rake remove trailing spaces 2012-11-16 06:41:05 +00:00
rdoc * lib/rdoc/servlet.rb: Add support for serving documentation from a 2012-11-28 07:41:19 +00:00
readline
resolv
rexml * lib/rexml/output.rb (REXML::Output): Don't output BOM in middle 2012-11-03 05:42:40 +00:00
rinda
ripper * ruby.c (load_file_internal): set default source encoding as 2012-11-06 00:49:57 +00:00
rss
ruby * vm_core.h (enum rb_thread_status): remove THREAD_TO_KILL 2012-11-28 08:31:03 +00:00
rubygems test_gem_installer.rb: restore ARGV 2012-09-25 02:14:18 +00:00
scanf
sdbm
socket Check if there is no error before reconnect [Bug #4387] 2012-10-30 00:40:54 +00:00
stringio stringio.c: close separatedly 2012-10-29 09:23:02 +00:00
strscan Added #charpos for multibyte string position. 2012-11-28 00:17:33 +00:00
syslog * ruby.c (load_file_internal): set default source encoding as 2012-11-06 00:49:57 +00:00
testunit * test/testunit/tests_for_parallel/ptest_forth.rb: added a test case 2012-08-21 00:07:32 +00:00
thread envutil.rb: kill child process when timeout 2012-09-29 11:19:11 +00:00
uri * lib/uri/ftp.rb (URI::FTP#initialize): raise InvalidURIError if "//" 2012-08-30 00:22:11 +00:00
webrick * ruby.c (load_file_internal): set default source encoding as 2012-11-06 00:49:57 +00:00
win32ole * test/win32ole/test_win32ole_type.rb (test_implemented_ole_types): 2012-11-20 12:34:21 +00:00
xmlrpc
zlib
inlinetest.rb
profile_test_all.rb
runner.rb runner.rb: no installed gems 2012-08-03 08:21:55 +00:00
test_cmath.rb
test_curses.rb
test_delegate.rb
test_find.rb
test_ipaddr.rb
test_mathn.rb
test_mutex_m.rb
test_open3.rb
test_pp.rb * numeric.c (rb_float_new_in_heap), include/ruby/ruby.h: 2012-10-27 02:10:53 +00:00
test_prettyprint.rb
test_prime.rb
test_pstore.rb test_pstore.rb: fix for timeout 2012-09-04 12:45:31 +00:00
test_pty.rb
test_securerandom.rb set encoding to ASCII for appropriate String#unpack modifiers 2012-10-19 13:13:32 +00:00
test_set.rb Move tests embedded in lib/set.rb to test/test_set.rb. 2012-11-24 18:51:45 +00:00
test_shellwords.rb
test_singleton.rb
test_syslog.rb
test_tempfile.rb
test_time.rb
test_timeout.rb
test_tmpdir.rb
test_tracer.rb
test_tsort.rb
test_weakref.rb Fix WeakRef finalize 2012-11-24 12:26:54 +00:00
with_different_ofs.rb