method

exclusive

v1_9_2_180 - Show latest stable - Class: Thread
exclusive()
public

Wraps a block in Thread.critical, restoring the original value upon exit from the critical section, and returns the value of the block.