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

ruby-changes:32705

From: zzak <ko1@a...>
Date: Sat, 1 Feb 2014 06:40:22 +0900 (JST)
Subject: [ruby-changes:32705] zzak:r44784 (trunk): * lib/drb/drb.rb: [DOC] Add note about start_service for each process

zzak	2014-02-01 06:40:18 +0900 (Sat, 01 Feb 2014)

  New Revision: 44784

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

  Log:
    * lib/drb/drb.rb: [DOC] Add note about start_service for each process
      Based on a patch by @rosenfeld [Fixes GH-514] [ci skip]
      https://github.com/ruby/ruby/pull/514

  Modified files:
    trunk/ChangeLog
    trunk/lib/drb/drb.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 44783)
+++ ChangeLog	(revision 44784)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Feb  1 06:38:51 2014  Zachary Scott  <e@z...>
+
+	* lib/drb/drb.rb: [DOC] Add note about start_service for each process
+	  Based on a patch by @rosenfeld [Fixes GH-514] [ci skip]
+	  https://github.com/ruby/ruby/pull/514
+
 Sat Feb  1 06:30:20 2014  Zachary Scott  <e@z...>
 
 	* error.c: [DOC] Document Exception#cause by @jasonrclark [ci skip]
Index: lib/drb/drb.rb
===================================================================
--- lib/drb/drb.rb	(revision 44783)
+++ lib/drb/drb.rb	(revision 44784)
@@ -177,6 +177,9 @@ require 'drb/eq' https://github.com/ruby/ruby/blob/trunk/lib/drb/drb.rb#L177
 #   # Not necessary for this small example, but will be required
 #   # as soon as we pass a non-marshallable object as an argument
 #   # to a dRuby call.
+#   #
+#   # Note: this must be called at least once per process to take any effect.
+#   # This is particularly important if your application forks.
 #   DRb.start_service
 #
 #   timeserver = DRbObject.new_with_uri(SERVER_URI)

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

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