Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Optimization

The columns labeled fiber (atomics) were compiled with default fiber synchronization, capable of synchronizing fibers running on different threads. The columns labeled fiber (raw) were compiled with BOOST_FIBERS_NO_ATOMICS.

Table 1.3. compiler flags

BOOST_FIBERS_NO_ATOMICS

No multithread supported, all atomics removed, no synchronization of fibers running in different threads

BOOST_FIBERS_SPIN_SINGLE_CORE

runs only on single core machines but multithreaded, yield thread at collisions

BOOST_FIBERS_SPIN_MAX_TESTS

BOOST_FIBERS_SPIN_MAX_COLLISIONS

BOOST_FIBERS_SPINLOCK_STD_MUTEX

BOOST_FIBERS_SPINLOCK_TTAS

BOOST_FIBERS_SPINLOCK_TTAS_ADAPTIVE

BOOST_FIBERS_SPINLOCK_TTAS_FUTEX

BOOST_FIBERS_SPINLOCK_TTAS_ADAPTIVE_FUTEX



PrevUpHomeNext