$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] [atomic] Availability detection
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2010-01-31 04:07:02
Hi,
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.