diff options
Diffstat (limited to 'sample/drb/dlogd.rb')
-rw-r--r-- | sample/drb/dlogd.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/drb/dlogd.rb b/sample/drb/dlogd.rb index 42f302e64e..be364511dc 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 |