win32 KLockFile implementation
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Mon Jul 23 05:30:58 BST 2007
Ralf Habacker schrieb:
> Hi,
>
> appended is a win32 implementation of the KLockFile class. using the
> recent KLockfile api.
> The implementation uses CreateFile() without shared access rights to
> detect if the specific file is opened by another process. Stale lock
> file handling is also implemented.
>
> I've also added a second KLockFile instance to testLock() of the
> testcase to check if locking really works.
>
> If there are no objectivies I would check this in and would
> - rename the recent klockfile.cpp to klockfile_unix.cpp and
> - remove all win32 stuff from the unix only file.
>
Please use the unicode versions of CreateFile/DeleteFile/...
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070723/43b1e029/attachment.sig>
More information about the kde-core-devel
mailing list