]> git.ipfire.org Git - thirdparty/squid.git/commit
Reengineered the double-linked lists for inmem objects, and now another
authorwessels <>
Tue, 28 Oct 1997 04:34:52 +0000 (04:34 +0000)
committerwessels <>
Tue, 28 Oct 1997 04:34:52 +0000 (04:34 +0000)
commitb93bcace0b689c07cec347a6836fd766d3d8f32c
treed19c879692268e8b9e940d104d55924c12da96cf
parentcba617d8bfb9da3bd0979b56781e821826046dc9
Reengineered the double-linked lists for inmem objects, and now another
for all objects.  The 'dlink_node' structures are embedded into
StoreEntry and MemObject.  storeGetMemSpace() and storeGetSwapSpace()
start at the tail of the lists and start deleting their way up.
In storeLockObject() we move a StoreEntry to the top of the list
if the lock_count was zero.
src/store.cc
src/structs.h
src/typedefs.h