test/thread_safety_test.rb in ruby-dbus-0.8.0 vs test/thread_safety_test.rb in ruby-dbus-0.9.0
- old
+ new
@@ -1,13 +1,9 @@
#!/usr/bin/env ruby
# Test thread safety
require "test/unit"
require "dbus"
-def d(msg)
- puts "#{$$} #{msg}" if $DEBUG
-end
-
class ThreadSafetyTest < Test::Unit::TestCase
def test_thread_competition
print "Thread competition: "
jobs = []
5.times do