[patch] KLockFile -- try harder

Nick Shaforostoff shaforostoff at gmail.com
Wed Jan 28 16:37:19 GMT 2009


This patch makes KLockFile handle pre-existing .lock files better.

Now, when existing lock file is detected, even if NoBlockFlag is specified,
LockStale or LockOK (depending on ForceFlag) is returned, instead of LockFile.

This is done now in only one while(true) cycle iteration, so it works
with NoBlockFlag.


Ok to commit?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: klockfile.patch
Type: application/octet-stream
Size: 3837 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090128/156b8afb/attachment.obj>


More information about the kde-core-devel mailing list