From cb344a3b497a162d8858c683d99a1d72ac8ee74b Mon Sep 17 00:00:00 2001 From: Kevin Clark Date: Wed, 18 Jun 2008 01:17:14 +0000 Subject: [PATCH] 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 --- lib/rb/lib/thrift/server.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 -- 2.17.1