[前][次][番号順一覧][スレッド一覧]

ruby-changes:13869

From: nobu <ko1@a...>
Date: Fri, 6 Nov 2009 10:56:35 +0900 (JST)
Subject: [ruby-changes:13869] Ruby:r25669 (ruby_1_8): * eval.c (get_event_name): added thread events.

nobu	2009-11-06 10:56:23 +0900 (Fri, 06 Nov 2009)

  New Revision: 25669

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25669

  Log:
    * eval.c (get_event_name): added thread events.

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/eval.c

Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 25668)
+++ ruby_1_8/ChangeLog	(revision 25669)
@@ -1,3 +1,7 @@
+Fri Nov  6 10:56:21 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* eval.c (get_event_name): added thread events.
+
 Sun Feb 15 03:50:21 2009  Yusuke Endoh  <mame@t...>
 
 	* hash.c (rb_hash): always return a fixnum value because a return
Index: ruby_1_8/eval.c
===================================================================
--- ruby_1_8/eval.c	(revision 25668)
+++ ruby_1_8/eval.c	(revision 25669)
@@ -2751,6 +2751,14 @@
 	return "c-return";
       case RUBY_EVENT_RAISE:
 	return "raise";
+      case RUBY_EVENT_THREAD_INIT:
+	return "thread-init";
+      case RUBY_EVENT_THREAD_FREE:
+	return "thread-free";
+      case RUBY_EVENT_THREAD_SAVE:
+	return "thread-save";
+      case RUBY_EVENT_THREAD_RESTORE:
+	return "thread-restore";
       default:
 	return "unknown";
     }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]