diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2016-07-14 10:12:11 +0200 |
---|---|---|
committer | Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> | 2016-07-15 06:33:56 +0000 |
commit | 120ba68882883c58415cb4ee285b0eba4192e76e (patch) | |
tree | 53427fef4b08a5d5e8c06a7306ef9b2486671432 /src/plugins/platforms/cocoa/qcocoamenu.mm | |
parent | a372cf5a80ec1a774f8f624b30b3c8209b800ec8 (diff) |
QReadWriteLock fast path for tryLock without timeout
When one tries to lock without a timeout, there is no need to allocate
a QReadWriteLockPrivate as we will not wait on it.
Change-Id: I37c96a7fbc0c66fbdffe372f6089708cb2466fe3
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoamenu.mm')
0 files changed, 0 insertions, 0 deletions