low-end persistence strategies?

John Lenton john at grulic.org.ar
Thu Feb 17 03:35:11 EST 2005


On Wed, Feb 16, 2005 at 10:43:42PM -0800, Michele Simionato wrote:
> <snip simple example with flock>
> 
> What happens if for any reason the application crashes?
> Locked files will stay locked or not? And if yes, how do I
> unlock them?

the operating system cleans up the lock.

-- 
John Lenton (john at grulic.org.ar) -- Random fortune:
Linux ext2fs has been stable for a long time, now it's time to break it
	-- Linuxkongreß '95 in Berlin
-------------- 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/20050217/e0dff48a/attachment.sig>


More information about the Python-list mailing list