STXXL
1.4.1
|
To support multi-threading, some parts of STXXL use synchronization primitives to ensure correct results. The primitives are based either on pthreads or on Boost classes.
For simple mutual exclusion contexts, stxxl::mutex objects should be used together with scoped locks:
Additionally stxxl::semaphore is available if counting is required.
stxxl::state is a synchronized state switching mechanism?
stxxl::onoff_switch is a two state semaphore thing?