diff options
-rw-r--r-- | prelude.rb | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -8,6 +8,7 @@ class Thread # value of the block. A thread executing inside the exclusive section will # only block other threads which also use the Thread.exclusive mechanism. def self.exclusive MUTEX_FOR_THREAD_EXCLUSIVE.synchronize{ yield } |