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
Pick-to: 6.6 6.5
Change-Id: I1dec2ad107e3f9ff9b4203960ba54ae6d0d8c7b6
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Jaishree Vyas <jaishree.vyas@qt.io>
This commit is contained in:
Rym Bouabid 2023-09-12 13:34:35 +02:00
parent 0132ad0fde
commit dcc0844056
3 changed files with 7 additions and 7 deletions

View File

@ -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,

View File

@ -752,7 +752,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}
*/
/*!

View File

@ -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}
*/
/*!