]> git.ipfire.org Git - thirdparty/squid.git/commit
Added RunnersRegistry, an API to register and, later, run a group of actions.
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 9 Sep 2011 16:16:43 +0000 (10:16 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Fri, 9 Sep 2011 16:16:43 +0000 (10:16 -0600)
commit61f3a07b0349298fcc6aa4519952dbab2f8064b9
tree29ce8f7635671bcaf8683df312dfcc7507915f0e
parent8658767a73d77891ca79eb1a5b87fa4e7147a963
Added RunnersRegistry, an API to register and, later, run a group of actions.

Useful for keeping general initialization/cleanup management code (e.g.,
main.cc) independent from specific initialization/cleanup code (e.g.,
Store file systems or memory cache) during staged initialization and
cleaning.

Designed with Rock Store needs in mind. Currently unused. Should eventually be
used for most modules initialization and cleanup, removing main.cc dependency
on those modules and perfecting [de]initialization order.
src/base/Makefile.am
src/base/RunnersRegistry.cc [new file with mode: 0644]
src/base/RunnersRegistry.h [new file with mode: 0644]
src/main.cc