1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--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
extserv.rb
extservm.rb
gw.rb
invokemethod.rb
observer.rb
ssl.rb * lib/drb/drb.rb: Support graceful shutdown. 2014-09-21 17:06:05 +00:00
timeridconv.rb
unix.rb * lib/drb/drb.rb: Support graceful shutdown. 2014-09-21 17:06:05 +00:00