Searched hist:3132 (Results 1 - 1 of 1) sorted by relevance

/gem5/src/sim/
H A Dmain.ccdiff 3132:a7dbdfa5958f Thu Oct 05 06:37:00 EDT 2006 Nathan Binkert <binkertn@umich.edu> Static global object don't work well, if the variables are
accessed during the construction of another static global
object because there are no guarantees on ordering of
construction, so stick the static global into a function
as a static local and return a reference to the variable.
This fixes the exit callback stuff on my Mac.

Completed in 13 milliseconds