summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qlockfile/tst_qlockfile.pro
diff options
context:
space:
mode:
authorDavid Faure <faure+bluesystems@kde.org>2013-02-03 12:00:50 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-05 06:26:33 +0100
commit1b582d64eb6d13e60a02ebc40956302a4864eb6c (patch)
tree45a3ce2c245acf5caf156d11203da7e69dfba7cd /tests/auto/corelib/io/qlockfile/tst_qlockfile.pro
parent6f8bc4de406be856eeba9e62700888941ccfdcc1 (diff)
Long live QLockFile
Locking between processes, implemented with open(O_EXCL) on Unix and CreateFile(CREATE_NEW) on Windows. Supports detecting stale lock files and deleting them. Advisory locking is used to prevent deletion of files that are still in use. Change-Id: Id00ee2a4e77a29483d869037c7047c59cb909339 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/io/qlockfile/tst_qlockfile.pro')
-rw-r--r--tests/auto/corelib/io/qlockfile/tst_qlockfile.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/qlockfile/tst_qlockfile.pro b/tests/auto/corelib/io/qlockfile/tst_qlockfile.pro
new file mode 100644
index 0000000000..2f7009b736
--- /dev/null
+++ b/tests/auto/corelib/io/qlockfile/tst_qlockfile.pro
@@ -0,0 +1,6 @@
+CONFIG += testcase
+CONFIG -= app_bundle
+TARGET = tst_qlockfile
+SOURCES += tst_qlockfile.cpp
+
+QT = core testlib concurrent