Reviewers: fschneider, Dmitry Vyukov, jbates, Description: Add CallOnce() and simple LazyInstance implementation.
Note that this implementation of LazyInstance does not handle global destructors
(i.e. the lazy instances are never deleted). This CL was initially reviewed on codereview.appspot.com: http://codereview.appspot.com/5687064/ BUG=1859 Please review this at http://codereview.chromium.org/9447052/ SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge Affected files: M src/SConscript A src/lazy-instance.h A src/once.h A src/once.cc M tools/gyp/v8.gyp -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
