(j3.2006) Question from a colleague
Keith Bierman
khbkhb at gmail.com
Tue Apr 7 14:44:32 EDT 2009
Hard to know for your specific code and specific compiler(s) but it
certainly could be true in some situations.
On Tue, Apr 7, 2009 at 12:36 PM, Van Snyder <Van.Snyder at jpl.nasa.gov> wrote:
> A colleague asked me whether there is a performance benefit if the
> compiler is informed that it is not necessary for a procedure to be
> thread safe. This actually originated in a discussion of iterators in
> python, CLU and alphard, where the activation record has to be preserved
> between suspension and resumption, as for a coroutine. My colleague did
> ask, however, whether our code would run faster if we could tell the
> compiler it didn't need to be thread safe. We use 5 million cpu hours
> per year, so a little improvement makes a big difference.
>
> --
> Van Snyder | What fraction of Americans believe
> Van.Snyder at jpl.nasa.gov | Wrestling is real and NASA is fake?
> Any alleged opinions are my own and have not been approved or
> disapproved by JPL, CalTech, NASA, the President, or anybody else.
>
> _______________________________________________
> J3 mailing list
> J3 at j3-fortran.org
> http://j3-fortran.org/mailman/listinfo/j3
>
--
Keith Bierman
khbkhb at gmail.com
kbiermank AIM
More information about the J3
mailing list