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

ruby-changes:10574

From: nobu <ko1@a...>
Date: Sun, 8 Feb 2009 22:45:39 +0900 (JST)
Subject: [ruby-changes:10574] Ruby:r22130 (trunk): * include/ruby/backward/rubysig.h (rb_thread_blocking_region_begin),

nobu	2009-02-08 22:44:21 +0900 (Sun, 08 Feb 2009)

  New Revision: 22130

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

  Log:
    * include/ruby/backward/rubysig.h (rb_thread_blocking_region_begin),
      (rb_thread_blocking_region_end): marked as deprecated.
    * include/ruby/backward/rubysig.h (TRAP_BEG): fix for C++.  a
      patch from Aman Gupta at [ruby-core:21934]

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/backward/rubysig.h

Index: include/ruby/backward/rubysig.h
===================================================================
--- include/ruby/backward/rubysig.h	(revision 22129)
+++ include/ruby/backward/rubysig.h	(revision 22130)
@@ -28,9 +28,9 @@
 #endif
 
 struct rb_blocking_region_buffer;
-RUBY_EXTERN struct rb_blocking_region_buffer *rb_thread_blocking_region_begin(void);
-RUBY_EXTERN void rb_thread_blocking_region_end(struct rb_blocking_region_buffer *);
-#define TRAP_BEG do {void *__region = rb_thread_blocking_region_begin(void);
+DEPRECATED(RUBY_EXTERN struct rb_blocking_region_buffer *rb_thread_blocking_region_begin(void));
+DEPRECATED(RUBY_EXTERN void rb_thread_blocking_region_end(struct rb_blocking_region_buffer *));
+#define TRAP_BEG do {struct rb_blocking_region_buffer *__region = rb_thread_blocking_region_begin();
 #define TRAP_END rb_thread_blocking_region_end(__region);} while (0)
 #define RUBY_CRITICAL(statements) do {statements;} while (0)
 #define DEFER_INTS (0)
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 22129)
+++ ChangeLog	(revision 22130)
@@ -1,3 +1,11 @@
+Sun Feb  8 22:44:20 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* include/ruby/backward/rubysig.h (rb_thread_blocking_region_begin),
+	  (rb_thread_blocking_region_end): marked as deprecated.
+
+	* include/ruby/backward/rubysig.h (TRAP_BEG): fix for C++.  a
+	  patch from Aman Gupta at [ruby-core:21934]
+
 Sun Feb  8 21:47:50 2009  Tanaka Akira  <akr@f...>
 
 	* ext/socket/extconf.rb: check struct cmsgcred.

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

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