Author: kclark
Date: Tue Jun 17 18:17:14 2008
New Revision: 669008
URL: http://svn.apache.org/viewvc?rev=669008&view=rev
Log:
rb: Stop using fastthread, it seems to give no benefit and in fact has a bug
Modified:
incubator/thrift/trunk/lib/rb/lib/thrift/server.rb
Modified: incubator/thrift/trunk/lib/rb/lib/thrift/server.rb
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/lib/thrift/server.rb?rev=669008&r1=669007&r2=669008&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/lib/thrift/server.rb (original)
+++ incubator/thrift/trunk/lib/rb/lib/thrift/server.rb Tue Jun 17 18:17:14 2008
@@ -48,11 +48,9 @@
deprecate_class! :TSimpleServer => SimpleServer
end
-begin
- require 'fastthread'
-rescue LoadError
- require 'thread'
-end
+# do *not* use fastthread
+# it has a bug that triggers on NonblockingServer
+require 'thread'
module Thrift
class ThreadedServer < Server