<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ruby.git/include, branch mvm</title>
<subtitle>github.com: ruby/ruby.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/'/>
<entry>
<title>* include/ruby/ruby.h (InitVM): calls per-VM initialization in</title>
<updated>2010-04-01T20:38:38+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2010-04-01T20:38:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=d3fe41350020b4cc4938908bd5cb03ff478c8858'/>
<id>d3fe41350020b4cc4938908bd5cb03ff478c8858</id>
<content type='text'>
  single VM, but does nothing in MVM.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@27162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  single VM, but does nothing in MVM.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@27162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* merged from trunk r27020:27160.</title>
<updated>2010-04-01T20:27:52+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2010-04-01T20:27:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=6abd0f4c87c5d070cadfeb55730b7981d1935017'/>
<id>6abd0f4c87c5d070cadfeb55730b7981d1935017</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@27161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@27161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* merged from trunk r26939:26967.</title>
<updated>2010-03-17T19:45:21+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2010-03-17T19:45:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=e29fd6006de8d32efcec2f24ab4588792675b5a6'/>
<id>e29fd6006de8d32efcec2f24ab4588792675b5a6</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@26968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@26968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* merged from trunk r26885:26939.</title>
<updated>2010-03-15T09:53:15+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2010-03-15T09:53:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=d7ce45bc1fbd4b31262b08fae6754739ed790d3c'/>
<id>d7ce45bc1fbd4b31262b08fae6754739ed790d3c</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@26940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@26940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* merged from trunk r26747:26885.</title>
<updated>2010-03-12T05:56:48+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2010-03-12T05:56:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=8483ed1052c0a9138e0b3b41fcb6f6bf6122c7e5'/>
<id>8483ed1052c0a9138e0b3b41fcb6f6bf6122c7e5</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@26886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@26886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* merged from trunk r25728:26678.</title>
<updated>2010-02-16T09:56:34+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2010-02-16T09:56:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=051a5b08d2ef1e157e4899701e5a01bbbcd660b2'/>
<id>051a5b08d2ef1e157e4899701e5a01bbbcd660b2</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@26679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@26679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* vm.c (rb_vm_start): handshake.</title>
<updated>2009-11-19T23:15:55+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2009-11-19T23:15:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=db2ad25943ca25a82298b641dab314c26b1055ec'/>
<id>db2ad25943ca25a82298b641dab314c26b1055ec</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* include/ruby/public_object.h (ruby_public_object_vmkey): moved</title>
<updated>2009-11-15T16:04:34+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2009-11-15T16:04:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=3b16d9a274b6eb5e3a50973f26a827ce980c3072'/>
<id>3b16d9a274b6eb5e3a50973f26a827ce980c3072</id>
<content type='text'>
  rb_fs, rb_output_fs, rb_rs, rb_default_rs, rb_output_rs to VM
  specific.

Index: array.c
===================================================================
--- array.c	(revision 25770)
+++ array.c	(working copy)
@@ -1513,6 +1513,4 @@ rb_ary_resurrect(VALUE ary)
 }
 
-extern VALUE rb_output_fs;
-
 static void ary_join_1(VALUE obj, VALUE ary, VALUE sep, long i, VALUE result);
 
Index: include/ruby/intern.h
===================================================================
--- include/ruby/intern.h	(revision 25770)
+++ include/ruby/intern.h	(working copy)
@@ -402,9 +402,4 @@ VALUE rb_env_clear(void);
 /* io.c */
 #define rb_defout rb_stdout
-RUBY_EXTERN VALUE rb_fs;
-RUBY_EXTERN VALUE rb_output_fs;
-RUBY_EXTERN VALUE rb_rs;
-RUBY_EXTERN VALUE rb_default_rs;
-RUBY_EXTERN VALUE rb_output_rs;
 VALUE rb_io_write(VALUE, VALUE);
 VALUE rb_io_gets(VALUE);
Index: include/ruby/public_object.h
===================================================================
--- include/ruby/public_object.h	(revision 25770)
+++ include/ruby/public_object.h	(working copy)
@@ -188,4 +188,15 @@ enum ruby_public_object_vmkey {
 #define ruby_progname (*rb_vm_specific_ptr(rb_vmkey_progname))
 
+    rb_vmkey_fs,
+#define rb_fs (*rb_vm_specific_ptr(rb_vmkey_fs))
+    rb_vmkey_output_fs,
+#define rb_output_fs (*rb_vm_specific_ptr(rb_vmkey_output_fs))
+    rb_vmkey_rs,
+#define rb_rs (*rb_vm_specific_ptr(rb_vmkey_rs))
+    rb_vmkey_output_rs,
+#define rb_output_rs (*rb_vm_specific_ptr(rb_vmkey_output_rs))
+    rb_vmkey_default_rs,
+#define rb_default_rs (*rb_vm_specific_ptr(rb_vmkey_default_rs))
+
     ruby_public_object_count
 };
Index: io.c
===================================================================
--- io.c	(revision 25770)
+++ io.c	(working copy)
@@ -113,11 +113,6 @@ extern void InitVM_File(void);
 #define numberof(array) (int)(sizeof(array) / sizeof((array)[0]))
 
-VALUE rb_deferr;		/* rescue VIM plugin */
-static VALUE orig_stdout, orig_stderr;
-
-VALUE rb_output_fs;
-VALUE rb_rs;
-VALUE rb_output_rs;
-VALUE rb_default_rs;
+#define orig_stdout (*rb_vm_specific_ptr(rb_vmkey_orig_stdout))
+#define orig_stderr (*rb_vm_specific_ptr(rb_vmkey_orig_stderr))
 
 static ID id_write, id_read, id_getc, id_flush, id_readpartial;
@@ -9986,5 +9981,5 @@ InitVM_IO(void)
     rb_define_hooked_variable("$&gt;", &amp;rb_stdout, 0, stdout_setter);
     orig_stdout = rb_stdout;
-    rb_deferr = orig_stderr = rb_stderr;
+    orig_stderr = rb_stderr;
 
     /* constants to hold original stdin/stdout/stderr */
Index: private_object.h
===================================================================
--- private_object.h	(revision 25770)
+++ private_object.h	(working copy)
@@ -67,4 +67,7 @@ enum ruby_private_object_vmkey {
     rb_vmkey_default_rand,
 
+    rb_vmkey_orig_stdout,
+    rb_vmkey_orig_stderr,
+
     ruby_builtin_object_count,
     ruby_private_object_count = ruby_builtin_object_count - ruby_private_object_vmkey_begin + 1
Index: string.c
===================================================================
--- string.c	(revision 25770)
+++ string.c	(working copy)
@@ -133,6 +133,4 @@ single_byte_optimizable(VALUE str)
 }
 
-VALUE rb_fs;
-
 static inline const char *
 search_nonascii(const char *p, const char *e)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  rb_fs, rb_output_fs, rb_rs, rb_default_rs, rb_output_rs to VM
  specific.

Index: array.c
===================================================================
--- array.c	(revision 25770)
+++ array.c	(working copy)
@@ -1513,6 +1513,4 @@ rb_ary_resurrect(VALUE ary)
 }
 
-extern VALUE rb_output_fs;
-
 static void ary_join_1(VALUE obj, VALUE ary, VALUE sep, long i, VALUE result);
 
Index: include/ruby/intern.h
===================================================================
--- include/ruby/intern.h	(revision 25770)
+++ include/ruby/intern.h	(working copy)
@@ -402,9 +402,4 @@ VALUE rb_env_clear(void);
 /* io.c */
 #define rb_defout rb_stdout
-RUBY_EXTERN VALUE rb_fs;
-RUBY_EXTERN VALUE rb_output_fs;
-RUBY_EXTERN VALUE rb_rs;
-RUBY_EXTERN VALUE rb_default_rs;
-RUBY_EXTERN VALUE rb_output_rs;
 VALUE rb_io_write(VALUE, VALUE);
 VALUE rb_io_gets(VALUE);
Index: include/ruby/public_object.h
===================================================================
--- include/ruby/public_object.h	(revision 25770)
+++ include/ruby/public_object.h	(working copy)
@@ -188,4 +188,15 @@ enum ruby_public_object_vmkey {
 #define ruby_progname (*rb_vm_specific_ptr(rb_vmkey_progname))
 
+    rb_vmkey_fs,
+#define rb_fs (*rb_vm_specific_ptr(rb_vmkey_fs))
+    rb_vmkey_output_fs,
+#define rb_output_fs (*rb_vm_specific_ptr(rb_vmkey_output_fs))
+    rb_vmkey_rs,
+#define rb_rs (*rb_vm_specific_ptr(rb_vmkey_rs))
+    rb_vmkey_output_rs,
+#define rb_output_rs (*rb_vm_specific_ptr(rb_vmkey_output_rs))
+    rb_vmkey_default_rs,
+#define rb_default_rs (*rb_vm_specific_ptr(rb_vmkey_default_rs))
+
     ruby_public_object_count
 };
Index: io.c
===================================================================
--- io.c	(revision 25770)
+++ io.c	(working copy)
@@ -113,11 +113,6 @@ extern void InitVM_File(void);
 #define numberof(array) (int)(sizeof(array) / sizeof((array)[0]))
 
-VALUE rb_deferr;		/* rescue VIM plugin */
-static VALUE orig_stdout, orig_stderr;
-
-VALUE rb_output_fs;
-VALUE rb_rs;
-VALUE rb_output_rs;
-VALUE rb_default_rs;
+#define orig_stdout (*rb_vm_specific_ptr(rb_vmkey_orig_stdout))
+#define orig_stderr (*rb_vm_specific_ptr(rb_vmkey_orig_stderr))
 
 static ID id_write, id_read, id_getc, id_flush, id_readpartial;
@@ -9986,5 +9981,5 @@ InitVM_IO(void)
     rb_define_hooked_variable("$&gt;", &amp;rb_stdout, 0, stdout_setter);
     orig_stdout = rb_stdout;
-    rb_deferr = orig_stderr = rb_stderr;
+    orig_stderr = rb_stderr;
 
     /* constants to hold original stdin/stdout/stderr */
Index: private_object.h
===================================================================
--- private_object.h	(revision 25770)
+++ private_object.h	(working copy)
@@ -67,4 +67,7 @@ enum ruby_private_object_vmkey {
     rb_vmkey_default_rand,
 
+    rb_vmkey_orig_stdout,
+    rb_vmkey_orig_stderr,
+
     ruby_builtin_object_count,
     ruby_private_object_count = ruby_builtin_object_count - ruby_private_object_vmkey_begin + 1
Index: string.c
===================================================================
--- string.c	(revision 25770)
+++ string.c	(working copy)
@@ -133,6 +133,4 @@ single_byte_optimizable(VALUE str)
 }
 
-VALUE rb_fs;
-
 static inline const char *
 search_nonascii(const char *p, const char *e)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* mvm.c (rb_vm_alone, rb_vm_main_p): new functions.</title>
<updated>2009-11-13T23:45:49+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2009-11-13T23:45:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=f09f6ce064984f4efe899cc0aa6cd5263747d964'/>
<id>f09f6ce064984f4efe899cc0aa6cd5263747d964</id>
<content type='text'>
* thread.c (thread_start_func_2): ignore signals on sub VMs.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* thread.c (thread_start_func_2): ignore signals on sub VMs.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* eval.c (ruby_vm_cleanup): not destruct vm, nor re-send signal.</title>
<updated>2009-11-13T01:14:12+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2009-11-13T01:14:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=2628c724dfe138040bd673d1e4c306bfc7aaccfe'/>
<id>2628c724dfe138040bd673d1e4c306bfc7aaccfe</id>
<content type='text'>
* eval.c (ruby_cleanup): destruct current vm and re-send signal.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* eval.c (ruby_cleanup): destruct current vm and re-send signal.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
</feed>
