Module: RubyBox::ThreadSafety
Constant Summary collapse
- SEMAPHORE =
Mutex.new
Instance Method Summary collapse
- #builder ⇒ Object
- #execute ⇒ Object
- #maximum_execution_time ⇒ Object
- #stderr ⇒ Object
- #stdout ⇒ Object
Instance Method Details
#builder ⇒ Object
69 70 71 |
# File 'lib/ruby_box/thread_safety.rb', line 69 def builder synchronize { super } end |
#execute ⇒ Object
73 74 75 |
# File 'lib/ruby_box/thread_safety.rb', line 73 def execute(*) synchronize { super } end |
#maximum_execution_time ⇒ Object
65 66 67 |
# File 'lib/ruby_box/thread_safety.rb', line 65 def maximum_execution_time synchronize { super } end |
#stderr ⇒ Object
81 82 83 |
# File 'lib/ruby_box/thread_safety.rb', line 81 def stderr synchronize { super } end |
#stdout ⇒ Object
77 78 79 |
# File 'lib/ruby_box/thread_safety.rb', line 77 def stdout synchronize { super } end |