]> err.no Git - varnish/commit
Properly lock n_wrk* statics variables without using more lock operations.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 9 Jun 2008 08:12:31 +0000 (08:12 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 9 Jun 2008 08:12:31 +0000 (08:12 +0000)
commit51053eca91152ada48da401fae8a18b414270ada
tree3631171cfbddf79a8bfce7091264f952574b4c78
parent0f663a7928f4a604891148ca28853395f067a679
Properly lock n_wrk* statics variables without using more lock operations.

Have the worker threads add themselves to the pool, while the hold the pool
lock anyway.

Collect stats per pool, and have the decimator aggregate over all pools
and into the shared memory counters.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2655 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_pool.c