summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added native key support to QSharedMemory API.Mirko Damiani2010-05-311-7/+19
| | | | | | | | | | | | | | | | | | | | Methods setNativeKey() and nativeKey() were added to QSharedMemory API. Shared memory's native key is returned by nativeKey() and it is set with either setKey() or setNativeKey(). setKey() leads to a native key that is platform independent while setNativeKey() directly sets the native key without any mangling. When using setNativeKey(), key() returns a null string and shared memory's system semaphore is not set. This means that is up to the user to define a such protection mechanism (i.e. lock() can't be used on native keys). QSharedMemory tests were updated. Merge-request: 1497 Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com> Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
* Make test work with shadow builds again.Andreas Aardal Hanssen2010-05-311-4/+4
| | | | | | | | Broken by 0cdf33e9acb00b8f3654e8268253a3fb7c5db92c, which assumes the binary and sources are in the same directory. The fix reverts the code back to how it was in 4.5 (where it still works with shadow builds). Reviewed-by: Denis Dzyubenko
* tst_qsharedmemory: create multiple instances of lackey.exe on WinCEJoerg Bornemann2010-04-211-0/+12
| | | | | | | We can't start multiple instances of an executable on Windows CE. To work around, this test now creates several copies of lackey.exe Reviewed-by: mauricek
* tst_qsharedmemory: fix deployment of lackey.exe for WinCEJoerg Bornemann2010-04-211-1/+1
| | | | Reviewed-by: mauricek
* fix compilation of tst_sharedmemory on Windows CEJoerg Bornemann2010-04-211-1/+1
| | | | Reviewed-by: mauricek
* Fixed compile of shm/sem tests with vcproj generator.Rohan McGovern2010-02-171-0/+776
SUBDIRS+=../path/to/lackey from two different places means that qmake sees the lackey project twice. This breaks the vcproj generator. Make it so that lackey is only referred to once.