= private = protected
exclusive()
Wraps a block in Thread.critical, restoring the original value upon exit from the critical section, and returns the value of the block.
# File prelude.rb, line 10 def self.exclusive MUTEX_FOR_THREAD_EXCLUSIVE.synchronize{ yield } end