[RFC] KLockFile
Hans Meine
hans_meine at gmx.net
Fri Sep 23 11:38:40 BST 2005
On Thursday 22 September 2005 18:09, Thomas Braxton wrote:
> I was looking to change KLockFile::LockOptions to a QFlags.
For still-Qt3 people like me: http://doc.trolltech.com/4.0/qflags.html#details
The change looks sensible though.
> I wanted some feedback on changing the names of the options.
>
> I want to go from [...]
> LockNoBlock = 1, LockForce=2
> [to]
> NoBlock=1, Force=2
Again, some cited documentation:
LockNoBlock
Return immediately, do not wait for the lock to become available.
LockForce
Automatically remove a lock when a lock is detected that is stale for more
than staleTime() seconds.
Maybe KLockFile::Force could be made more descriptive, e.g.
KLockFile::RemoveStale or TakeStale?
Greetings,
Hans
More information about the kde-core-devel
mailing list