Revamp Wait Conditions Example: Revisit the documentation
Change the title. Remove the first \brief as there are two briefs in the document so that the new title makes sense with the second brief in "All Qt Examples" doc page. Task-number: QTBUG-108860 Change-Id: I1dec2ad107e3f9ff9b4203960ba54ae6d0d8c7b6 Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io> (cherry picked from commit dcc08440567c1e5d36ba68a68a617182151f8bdc)
This commit is contained in:
parent
f2b570c206
commit
c7d06095cb
@ -3,13 +3,12 @@
|
||||
|
||||
/*!
|
||||
\example threads/waitconditions
|
||||
\title Wait Conditions Example
|
||||
\brief Demonstrates multi-thread programming using Qt.
|
||||
\title Producer and Consumer using Wait Conditions
|
||||
\ingroup qtconcurrent-mtexamples
|
||||
|
||||
\brief The Wait Conditions example shows how to use QWaitCondition and
|
||||
QMutex to control access to a circular buffer shared by a
|
||||
producer thread and a consumer thread.
|
||||
\brief The Producer and Consumer using Wait Conditions example shows
|
||||
how to use QWaitCondition and QMutex to control access to a circular
|
||||
buffer shared by a producer thread and a consumer thread.
|
||||
|
||||
The producer writes data to the buffer until it reaches the end
|
||||
of the buffer, at which point it restarts from the beginning,
|
||||
|
@ -748,7 +748,8 @@ void QCoreApplicationPrivate::initLocale()
|
||||
to reset the locale that is used for number formatting to "C"-locale.
|
||||
|
||||
\sa QGuiApplication, QAbstractEventDispatcher, QEventLoop,
|
||||
{Producer and Consumer using Semaphores}, {Wait Conditions Example}
|
||||
{Producer and Consumer using Semaphores},
|
||||
{Producer and Consumer using Wait Conditions}
|
||||
*/
|
||||
|
||||
/*!
|
||||
|
@ -289,7 +289,7 @@ QThreadPrivate::~QThreadPrivate()
|
||||
|
||||
\sa {Thread Support in Qt}, QThreadStorage, {Synchronizing Threads},
|
||||
Mandelbrot, {Producer and Consumer using Semaphores},
|
||||
{Wait Conditions Example}
|
||||
{Producer and Consumer using Wait Conditions}
|
||||
*/
|
||||
|
||||
/*!
|
||||
|
Loading…
x
Reference in New Issue
Block a user