Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2007-03-28 13:45:53

james.jones_at_[hidden] wrote:
> I'm not sure about this, actually - but do the fe* functions
> guarantee thread safety? I read over Sun's documentation and it says
> they do, but can this generally be assumed? N2198 specifies that
> cfenv be used for context, and this is where I got concerned.

Good question: there are no threads as far as C99 is concerned so it doesn't
say. Since these functions basically just return the state of the
underlying hardware, I guess they are as thread safe as the hardware is? A
casual glance at the POSIX spec doesn't seem to help either...



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