Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2000-08-31 18:04:14

on 8/30/00 10:05 PM, William Kempf at sirwillard_at_[hidden] wrote:

> Atomic counters are integral types that can be manipulated through
> atomic functions, functions gauranteed to execute from start to end
> with out fear of pre-emption causing corruption. Many platforms have
> native operations that allow atomic operations on native integral
> types, but we can't rely on this being the case. So, we need a type
> other than the built in integral types that we can build the
> necessary synchronization into for platforms with out such atomic
> operations.

Doesn't C ,and therefore C++, have a "sig_atomic_t" type that works like
this? (I mentioned this type during the thread discussions.) Could we use
it somehow, without (always) resorting to platform-specific extensions?


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