зеркало из https://github.com/github/ruby.git
* thread.c: Grammar for #backtrace_locations and ::handle_interrupt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
ac94eb1a91
Коммит
5feede6f3b
|
@ -1,3 +1,7 @@
|
|||
Wed Feb 20 14:23:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
||||
|
||||
* thread.c: Grammar for #backtrace_locations and ::handle_interrupt
|
||||
|
||||
Sun Feb 24 13:35:57 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* vm_insnhelper.c (vm_call_method): block level control frame does not
|
||||
|
|
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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче