apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: SDBM locking...
Date Sun, 13 May 2001 11:20:11 GMT
On Sun, May 13, 2001 at 01:04:56AM -0500, William A. Rowe, Jr. wrote:
> From: "Justin Erenkrantz" <jerenkrantz@ebuilt.com>
>...
> > SDBM code (besides writing to the network).  Is there any plan to 
> > implement either a fast path without locking or to somehow address the 
> > locking speed?
> 
> Ummm... my locking patch should do effectively nothing if you don't ask
> for locking --- that points to a bug in my patch.

I didn't see a problem in my code review. Justin: are you actually seeing
calls to fcntl/flock/whatever in an strace output? (note that you can't
really use calls to apr_sdbm_(un)lock since they could be fast-pathed in
most cases)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message