httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: cvs commit: httpd-2.0/modules/experimental config.m4 mod_mem_cache.c
Date Fri, 24 Aug 2001 17:00:36 GMT
trawick@apache.org writes:

>   don't segfault if we don't have/need a lock
>   Index: mod_mem_cache.c

>   -    apr_lock_acquire(sconf->lock);
>   +    /* XXX Need a way to insert into the cache w/o such coarse grained locking */
>   +    if (sconf->lock) {
>   +        apr_lock_acquire(sconf->lock);
>   +    }

it would be kind of cool to have an APR noop lock to avoid this kind
of ugliness; wasted pathlength but prettier :)

-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message