]> err.no Git - varnish/commit
Rename the "idle" field of struct worker to "used", which is more precise.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 13 Jul 2007 07:47:45 +0000 (07:47 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 13 Jul 2007 07:47:45 +0000 (07:47 +0000)
commitfe19b886a785b2ef425b3d81781075848a964e96
treec9ab3c1b2a614decb14af94c61e6e5e28b60abca
parent8a4da022dcaa474048584087d788d2767880ac6d
Rename the "idle" field of struct worker to "used", which is more precise.

Don't use the "used" field to signal suicide for worker threads,
use the "wrq" field which is much more natural.

Set the "used" field to NAN before doing anything and assert that
somebody updated during the task.

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