From: Kevin Clark Date: Wed, 18 Jun 2008 01:17:14 +0000 (+0000) Subject: rb: Stop using fastthread, it seems to give no benefit and in fact has a bug X-Git-Tag: 0.2.0~543 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=cb344a3b497a162d8858c683d99a1d72ac8ee74b;p=common%2Fthrift.git rb: Stop using fastthread, it seems to give no benefit and in fact has a bug git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@669008 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/rb/lib/thrift/server.rb b/lib/rb/lib/thrift/server.rb index 95258f0c..62d210b9 100644 --- a/lib/rb/lib/thrift/server.rb +++ b/lib/rb/lib/thrift/server.rb @@ -48,11 +48,9 @@ module Thrift 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