apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Erenkrantz" <jus...@erenkrantz.com>
Subject Re: svn commit: r512557 - in /apr/apr-util/trunk: CHANGES dbm/sdbm/sdbm.c
Date Wed, 28 Feb 2007 22:16:43 GMT
On 2/28/07, William A. Rowe, Jr. <wrowe@rowe-clan.net> wrote:
> Another alternative, we can either write lock the file by all readers,
> or perhaps easier but probably more cpu intensive, lstat to pick up the
> modification stamp?

SDBM already takes out a shared file lock when opening the file - so
it does exactly this.

If you want to remove BUFFERED when SHARELOCK is set, please be my
guest as the DBD layers don't use that flag.  -- justin

Mime
View raw message