mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 00:54:01 +02:00
backport r39460, ack'd by mame-san
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e8600e1471
commit
495d8b0ec3
2 changed files with 7 additions and 3 deletions
6
thread.c
6
thread.c
|
@ -1640,7 +1640,7 @@ handle_interrupt_arg_check_i(VALUE key, VALUE val)
|
|||
* th.raise "stop"
|
||||
*
|
||||
* While we are ignoring the RuntimeError exception, it's safe to write our
|
||||
* resource allocation code. Then in the ensure block is where you can safely
|
||||
* resource allocation code. Then, the ensure block is where we can safely
|
||||
* deallocate your resources.
|
||||
*
|
||||
* ==== Guarding from TimeoutError
|
||||
|
@ -4853,8 +4853,8 @@ rb_thread_backtrace_m(int argc, VALUE *argv, VALUE thval)
|
|||
*
|
||||
* See Thread::Backtrace::Location for more information.
|
||||
*
|
||||
* This method behaves similarly to Kernel#caller_locations except for a
|
||||
* specific thread.
|
||||
* This method behaves similarly to Kernel#caller_locations except it applies
|
||||
* to a specific thread.
|
||||
*/
|
||||
static VALUE
|
||||
rb_thread_backtrace_locations_m(int argc, VALUE *argv, VALUE thval)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue