lib/automate-em/logic/logic.rb in automate-em-0.0.2 vs lib/automate-em/logic/logic.rb in automate-em-0.0.3
- old
+ new
@@ -14,10 +14,10 @@
#
# Status variables
# NOTE:: if changed then change in device.rb
#
@status = {}
- @status_lock = Mutex.new
+ @status_lock = Object.new.extend(MonitorMixin)
@status_emit = {} # status => condition_variable
end
def logger