summaryrefslogtreecommitdiffstats
path: root/base/at_exit.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a void* parameter to the AtExitManager callbacks.deanm@google.com2008-09-081-4/+10
| | | | | | Review URL: http://codereview.chromium.org/1805 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1835 0039d316-1c4b-4281-b951-d872f2087c98
* Set svn:eol-style = LF on files in base from which it is missingmmentovai@google.com2008-09-021-65/+65
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1648 0039d316-1c4b-4281-b951-d872f2087c98
* Use a more compact license header in source files.license.bot2008-08-241-89/+65
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1287 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid a global std::stack. Instead embed a next pointer in the managers.deanm@google.com2008-08-131-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@795 0039d316-1c4b-4281-b951-d872f2087c98
* AtExitManager cleanup.mmentovai@google.com2008-08-131-8/+9
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@794 0039d316-1c4b-4281-b951-d872f2087c98
* Allow multiple AtExitManagers to be chained in a stack, this allows much ↵deanm@google.com2008-08-111-1/+7
| | | | | | | | | | easier testing for code that is expecting to be run via an AtExitManager. This actually cleaned up a lot of the at exit code. Clean up singleton_dll_unittest. It is no longer windows specific DLL, and now is much simpler, and builds and runs cross platform. BUG=1314043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@646 0039d316-1c4b-4281-b951-d872f2087c98
* Adds new class AtExitManager which manages the dtors of all singletons.cpu@google.com2008-08-011-0/+80
- Previously this job was done by the CRT's atexit() which runs later than we want and under the loader lock. - Had to modify most main() functions for the testing executables so we don't trigger leak detectors. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219 0039d316-1c4b-4281-b951-d872f2087c98