qt5base-lts/tests/auto/corelib/io/qlockfile
Thiago Macieira 772863355a QLockFile/Unix: save the boot and machine IDs in the lock file too
This allows us to make sure that the PID we read is from the same boot
as we are right now running. The collision could happen on embedded
systems where the boot sequence is fixed, so all the same processes
would have the exact same PIDs after reboot as they did before.

[ChangeLog][QtCore][QLockFile] QLockFile can now properly conclude that
a lock file from a previous boot of the same device is stale and can be
removed. This is implemented only for Linux and Apple operating systems.

Task-number: QTBUG-63425
Change-Id: I0b48fc8e90304e0dacc3fffd14e8e3a197211788
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
2017-11-14 15:54:56 +00:00
..
qlockfiletesthelper Autotest: use _exit() instead of exit() to simulate an unclean exit 2017-10-08 06:41:05 +00:00
qlockfile.pro Long live QLockFile 2013-03-05 06:26:33 +01:00
tst_qlockfile.cpp QLockFile/Unix: save the boot and machine IDs in the lock file too 2017-11-14 15:54:56 +00:00
tst_qlockfile.pro QLockFile/Unix: save the boot and machine IDs in the lock file too 2017-11-14 15:54:56 +00:00