qt5base-lts/tests/auto/corelib/thread
Giuseppe D'Angelo a594f85d54 Q(Basic)Mutex: add try_lock{,_for,_until} for STL compatibility
Now QBasicMutex is Lockable and QMutex is TimedLockable, which means they can
be used in std::lock_guard, std::unique_lock, std::lock, etc.

[ChangeLog][QtCore][QMutex] QMutex now fully models the TimedLockable
concept by providing the try_lock, try_lock_for and try_lock_until
functions, therefore making it usable in Standard Library lock
management classes and functions.

Change-Id: I7c691481a5781a696701e1ab78186b5cefbd6a87
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2016-07-25 13:10:07 +00:00
..
qatomicint Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qatomicinteger Merge remote-tracking branch 'origin/5.6' into 5.7 2016-03-24 20:37:33 +01:00
qatomicpointer Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qfuture Updated license headers 2016-01-21 18:55:18 +00:00
qfuturesynchronizer Updated license headers 2016-01-21 18:55:18 +00:00
qfuturewatcher Updated license headers 2016-01-21 18:55:18 +00:00
qmutex Q(Basic)Mutex: add try_lock{,_for,_until} for STL compatibility 2016-07-25 13:10:07 +00:00
qmutexlocker Updated license headers 2016-01-21 18:55:18 +00:00
qreadlocker Updated license headers 2016-01-21 18:55:18 +00:00
qreadwritelock Updated license headers 2016-01-21 18:55:18 +00:00
qresultstore Updated license headers 2016-01-21 18:55:18 +00:00
qsemaphore QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
qthread QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
qthreadonce QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
qthreadpool Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
qthreadstorage QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
qwaitcondition Updated license headers 2016-01-21 18:55:18 +00:00
qwritelocker Updated license headers 2016-01-21 18:55:18 +00:00
thread.pro Replace the type-based QAtomicIntegerTraits with a size-based one 2014-01-30 18:06:27 +01:00