low-end persistence strategies?

John Lenton john at grulic.org.ar
Fri Feb 18 00:22:27 EST 2005


On Thu, Feb 17, 2005 at 09:02:37PM -0800, Michele Simionato wrote:
> > John Lenton:
> Also, if you use something where the process doesn't terminate between
> calls (such as mod_python, I guess), you have to be sure to write the
> try/finallys around your locking code, because the OS only cleans up
> the lock when the process exits.
> 
> This is what I feared. What happens in the case of a power failure?
> Am I left with locked files floating around?

no.

-- 
John Lenton (john at grulic.org.ar) -- Random fortune:
Los hijos de los buenos, capa son de duelo 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20050218/e691cf6e/attachment.sig>


More information about the Python-list mailing list