low-end persistence strategies?

Michele Simionato michele.simionato at gmail.com
Fri Feb 18 00:02:37 EST 2005


> 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?

      Michele Simionato




More information about the Python-list mailing list