ruby/lib/drb
akr 6a7d389ed0 * lib/drb/drb.rb: Support graceful shutdown.
(DRbTCPSocket#initialize): Create a pipe for shutdown notification.
  (DRbTCPSocket#close): Invoke close_shutdown_pipe.
  (DRbTCPSocket#close_shutdown_pipe): New private method.
  (DRbTCPSocket#accept): Use accept_or_shutdown.
  (DRbTCPSocket#accept_or_shutdown): New private method which returns
  nil on shutdown.
  (DRbServer#stop_service): Use shutdown instead of Thread#kill.
  (DRbServer#run): Break infinite loop when main_loop returns nil.
  (DRbServer#main_loop): @protocol.accept may return nil.

* lib/drb/ssl.rb: Follow above change.

* lib/drb/unix.rb: Ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-21 17:06:05 +00:00
..
acl.rb * lib/drb/acl.rb: Removed meaningless #to_s methods in interpolation. 2014-08-27 12:21:41 +00:00
drb.rb * lib/drb/drb.rb: Support graceful shutdown. 2014-09-21 17:06:05 +00:00
eq.rb * lib/drb/drb.rb: Improved documentation by adding or hiding methods. 2013-01-25 03:25:39 +00:00
extserv.rb * lib/drb/extserv.rb: remove duplicate code with sample direcotry. 2014-07-22 19:06:12 +00:00
extservm.rb * lib/drb/extservm.rb (DRb::ExtServManager): don't use /bin/sh to 2012-04-22 11:35:03 +00:00
gw.rb * lib/drb/drb.rb: Improved documentation by adding or hiding methods. 2013-01-25 03:25:39 +00:00
invokemethod.rb * lib/drb/invokemethod.rb: [DOC] nodoc InvokeMethod18Mixin 2013-07-23 00:28:24 +00:00
observer.rb * lib/drb/drb.rb: Improved documentation by adding or hiding methods. 2013-01-25 03:25:39 +00:00
ssl.rb * lib/drb/drb.rb: Support graceful shutdown. 2014-09-21 17:06:05 +00:00
timeridconv.rb * lib/drb/drb.rb: Improved documentation by adding or hiding methods. 2013-01-25 03:25:39 +00:00
unix.rb * lib/drb/drb.rb: Support graceful shutdown. 2014-09-21 17:06:05 +00:00