Class: Concurrent::AtomicBoolean
- Inherits:
-
MutexAtomicBoolean
- Object
- MutexAtomicBoolean
- Concurrent::AtomicBoolean
- Defined in:
- lib/concurrent/atomic/atomic_boolean.rb,
lib/concurrent/atomic/atomic_boolean.rb
Overview
A boolean value that can be updated atomically. Reads and writes to an atomic boolean and thread-safe and guaranteed to succeed. Reads and writes may block briefly but no explicit locking is required.
Method Summary
Methods inherited from MutexAtomicBoolean
#false?, #initialize, #make_false, #make_true, #true?, #value, #value=
Constructor Details
This class inherits a constructor from Concurrent::MutexAtomicBoolean