Boost logo

Boost :

Subject: [boost] [atomic] Availability detection
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2010-01-31 04:07:02


Will there be a way to detect if specific operations over a specific
type are available atomically on the current platform? That is, if I
know that atomic operations are emulated with locks, I want to fall back
to another branch of my code with explicit locks, rather than the
emulated atomics.

Boost list run by bdawes at, gregod at, cpdaniel at, john at