summaryrefslogtreecommitdiff
path: root/sample/drb/dlogd.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/drb/dlogd.rb')
-rw-r--r--sample/drb/dlogd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/drb/dlogd.rb b/sample/drb/dlogd.rb
index 42f302e..be36451 100644
--- a/sample/drb/dlogd.rb
+++ b/sample/drb/dlogd.rb
@@ -10,7 +10,7 @@ class Logger
def initialize(fname)
@fname = fname.to_s
@fp = File.open(@fname, "a+")
- @queue = Queue.new
+ @queue = Thread::Queue.new
@th = Thread.new { self.flush }
end