LASP 1.0
Library for Acoustic Signal Processing
|
Provides a simple atomic variable: More...
Classes | |
class | Atomic |
Implementation of atomic operations on integers and booleans. More... | |
Provides a simple atomic variable:
a = Atomic(0)
Retrieve the value
b = a()
Set a new value:
a <<= b
Get conversion to boolean:
if a: do something
Atomic increment:
A += 1