<div dir="ltr">Other than using a database, what are my options for allowing two processes to edit the same file at the same time?  When I say same time, I can accept delays.  I considered lock files, but I cannot conceive of how I avoid race conditions.</div>