getsomeual / pylockfile

Automatically exported from code.google.com/p/pylockfile
Other
0 stars 0 forks source link

SymlinkFileLock #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Lockfile class for using (dangling) symlinks for locking.
Patch attached.
(More testing would be preferred, though).

Initial problem for me was that hardlinks didn't work well over sshfs.

Side note: pylockfile code could likely use some redesign — a bit of 
formatting, some better expressions (although not very sure about pre-2.6 
compatibility on those), and more abstract version of acquire() which uses own 
classmethods and doesn't have to be copied in all classes.

Original issue reported on code.google.com by hoverh...@gmail.com on 4 Sep 2010 at 8:03

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks.  Added as rev 112.  Will be in v. 0.9.2.

Original comment by skip.mon...@gmail.com on 6 Nov 2010 at 9:26

GoogleCodeExporter commented 8 years ago

Original comment by skip.mon...@gmail.com on 6 Nov 2010 at 9:28

GoogleCodeExporter commented 8 years ago
Sorry, still trying to figure out how this issue tracker works.

Original comment by skip.mon...@gmail.com on 6 Nov 2010 at 9:29