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
..
2014-08-10 01:34:50 +00:00
2014-09-21 17:06:05 +00:00
2014-08-27 12:10:21 +00:00
2014-07-18 10:11:18 +00:00
2014-08-27 12:10:21 +00:00
2014-07-27 11:04:28 +00:00
2014-07-27 11:04:28 +00:00
2014-09-06 09:31:52 +00:00
2014-07-07 02:07:01 +00:00
2014-09-11 01:03:22 +00:00
2014-09-21 03:10:27 +00:00
2014-08-21 04:23:56 +00:00
2014-06-14 13:52:04 +00:00
2014-09-14 03:30:02 +00:00
2014-08-26 02:44:26 +00:00
2014-09-17 14:15:03 +00:00
2014-08-08 05:34:48 +00:00
2014-08-15 01:21:18 +00:00
2014-07-11 08:16:05 +00:00
2014-09-11 08:09:07 +00:00
2014-08-07 06:14:29 +00:00
2014-08-09 01:36:49 +00:00
2014-09-21 03:21:17 +00:00
2014-07-26 17:11:56 +00:00
2014-08-24 07:16:25 +00:00
2014-05-31 19:54:55 +00:00
2014-08-27 12:21:41 +00:00
2014-08-12 04:36:31 +00:00
2014-03-03 15:28:58 +00:00
2014-05-31 07:36:51 +00:00
2014-08-24 07:16:25 +00:00
2014-08-25 04:03:33 +00:00
2014-08-26 12:07:57 +00:00
2014-07-18 10:04:15 +00:00
2014-09-09 00:27:34 +00:00
2014-08-27 12:21:41 +00:00
2014-08-10 01:34:50 +00:00
2014-08-08 10:30:19 +00:00
2014-05-26 03:25:38 +00:00
2014-07-21 06:55:44 +00:00
2014-08-22 02:38:59 +00:00
2014-07-27 11:04:28 +00:00
2014-07-23 19:31:18 +00:00
2014-07-15 03:07:37 +00:00
2014-09-05 01:41:25 +00:00
2014-06-24 08:48:46 +00:00
2014-09-14 03:30:02 +00:00
2014-08-08 11:00:47 +00:00
2014-08-06 11:28:21 +00:00
2014-08-24 07:16:25 +00:00
2014-09-05 10:00:46 +00:00
2014-09-21 01:40:21 +00:00
2014-08-27 12:10:21 +00:00
2014-07-27 20:58:05 +00:00
2014-09-21 01:40:21 +00:00
2014-07-26 17:12:11 +00:00
2014-06-26 02:52:46 +00:00