This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Optimization/clarity coding : what is gcc able to do for me?
Joe Buck wrote:
You are laboring under a mistaken impression: the C++ standard does not
require this level of thread safety and no C++ compiler or library
provider provides that kind of thread safety (as the cost would be
enormous for non-threaded programs).
I do not believe the claim that enormous cost is involved, based
on the Ada experience, which provides full thread safety with
minimal cost.
In practice many C programs rely on far more thread safety than
is formally guaranteed, and that for sure is uncomfortable.