# Thread (Class)

In: | thread.rb
Parent: | Object

## Methods

exclusive

## Public Class methods

exclusive() {|| ...}

FIXME: not documented in Pickaxe or Nutshell.

[Source]

    # File thread.rb, line 28
      def Thread.exclusive
        _old = Thread.critical
        begin
          Thread.critical = true
          return yield
        ensure
          Thread.critical = _old
        end
      end

[Validate]