summaryrefslogtreecommitdiffstats
path: root/src/multimedia/audio
diff options
context:
space:
mode:
authorMirko Damiani <mirko@develer.com>2010-02-08 15:09:24 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2010-05-31 07:21:11 (GMT)
commit9b4ff3deb28b3d642dc4480207f2f23841cf26e9 (patch)
tree103e8f6b0639e85e0f9a0af7ca0d943e64c518fd /src/multimedia/audio
parent90abe364b7e9b0aa201a3e0ed0b043643519e21b (diff)
downloadQt-9b4ff3deb28b3d642dc4480207f2f23841cf26e9.zip
Qt-9b4ff3deb28b3d642dc4480207f2f23841cf26e9.tar.gz
Qt-9b4ff3deb28b3d642dc4480207f2f23841cf26e9.tar.bz2
Added native key support to QSharedMemory API.
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>
Diffstat (limited to 'src/multimedia/audio')
0 files changed, 0 insertions, 0 deletions