summaryrefslogtreecommitdiffstats
path: root/examples/xml/streambookmarks/doc/src/qxmlstreambookmarks.qdoc
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2017-02-11 10:10:18 +0100
committerMarc Mutz <marc.mutz@kdab.com>2017-02-14 06:46:03 +0000
commitf0ee4ed0a28d274c7a8efeb9e6ac8642e020e2cc (patch)
tree5e7d7d42888b948d62241b60d0418bea0009b28e /examples/xml/streambookmarks/doc/src/qxmlstreambookmarks.qdoc
parent9c765522d1c4f8090b5f5d391b1740fc4bd67664 (diff)
Long live QSemaphoreReleaser!
This is a simple RAII class that makes semaphore releasing reliable in the face of exceptions and early returns. This code originates from KDTools' KDSemaphoreReleaser[1], but has been extensively reworked to support C++11 move semantics. [1] https://docs.kdab.com/kdtools/2.3.0/class_k_d_semaphore_releaser.html [ChangeLog][QtCore][QSemaphore] Added a new RAII class, QSemaphoreReleaser, to reliably perform release() calls. Change-Id: I6aff64d37cc0882b17c4419817bde60b542f34d9 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: David Faure <david.faure@kdab.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/xml/streambookmarks/doc/src/qxmlstreambookmarks.qdoc')
0 files changed, 0 insertions, 0 deletions