-
Notifications
You must be signed in to change notification settings - Fork 33
Have keep alive
option when get the file lock
#12
Comments
+1 patch welcome. Should use the |
hi,
it would appear that under windows, you check modification time, whereas everywhere else, you use creation time. why doesn't it use modification time everywhere? this will make _touch_ing the file easier. with thanks |
On windows, On posix systems, |
chuckles ... righto. |
what should we call this function? renew() i don't think touch() is good, because it requires you to be familiar with the touch command. |
I would suggest refresh(). renew() works too. Adding Lock on the end would be redundant anywhere the library reference variable is appropriately named. |
I'm touching this thread to make sure it's not stale |
i think it might be stale :P |
If A get the file lock for quite a long time, A should always touch the file to make sure the lock is not
stale
The text was updated successfully, but these errors were encountered: