method
exclusive
v2_2_9 -
Show latest stable
- Class:
Thread
exclusive()public
Wraps the block in a single, VM-global Mutex.synchronize, returning the value of the block. A thread executing inside the exclusive section will only block other threads which also use the Thread.exclusive mechanism.