Re: using cdb for 'update' without race condition?

[email protected] (Paul Jarc) Thu, 10 Apr 2008 21:17:45 -0400
Newsgroups gmane.comp.djb.cdb
Organization What did you have in mind? A short, blunt, human pyramid?
Message-ID <[email protected]>
ari edelkind <[email protected]> wrote:
> Actually, the output file to which i was referring becomes the new
> master file, not the new database file.

Locking that won't work either.  The lock file must never be renamed,
or else you can have two processes locking different files (even if
they had the same name at different times), and both proceeding
concurrently.


paul