Annotation of parser3/src/main/pa_cache_managers.C, revision 1.1

1.1     ! paf         1: /** @file
        !             2:        Parser: status press center implementation.
        !             3: 
        !             4:        Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)
        !             5:        Author: Alexander Petrosyan <paf@design.ru> (http://paf.design.ru)
        !             6: 
        !             7:        $Id: pa_cachs_managers.C,v 1.2 2001/11/05 11:46:28 paf Exp $
        !             8: */
        !             9: 
        !            10: #include "pa_cache_managers.h"
        !            11: 
        !            12: // globals
        !            13: 
        !            14: Cache_managers *cache_managers;
        !            15: 
        !            16: // methods
        !            17: 
        !            18: static void maybe_expire_one(const Hash::Key& akey, Hash::Val *avalue, 
        !            19:                                                                                  void *) {
        !            20:        static_cast<Cache_manager *>(avalue)->maybe_expire_cache();
        !            21: }
        !            22: void Cache_managers::maybe_expire() {
        !            23:        for_each(maybe_expire_one);
        !            24: }

E-mail: