summaryrefslogtreecommitdiffstats
path: root/src/network/access/http2
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2016-07-14 15:37:55 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2016-07-25 13:10:07 +0000
commita594f85d542377d604f8287e7e7bec8fa9896265 (patch)
treec17ce56923e173d03f52a868bb46a95287e5cba0 /src/network/access/http2
parenta8cf3b02576d987970dbc1cc2a11e0fb1fc1cf86 (diff)
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>
Diffstat (limited to 'src/network/access/http2')
0 files changed, 0 insertions, 0 deletions