summaryrefslogtreecommitdiffstats
path: root/examples/corelib/threads
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@theqtcompany.com>2016-08-09 14:37:11 +0200
committerTopi Reiniƶ <topi.reinio@theqtcompany.com>2016-08-11 08:27:36 +0000
commitfbc9edb5e7bf1417959e9c9fb5f70979ff176483 (patch)
treea61c021ee56e2615f01c22092576c0ff86f97127 /examples/corelib/threads
parent6c473b7e08479a3abd117a11a75dff9630bbf98e (diff)
Doc: Fix typo in the Semaphores Example
Change-Id: I140915014836a3bbc449c953aa54452483b0b886 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Diffstat (limited to 'examples/corelib/threads')
-rw-r--r--examples/corelib/threads/doc/src/semaphores.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/corelib/threads/doc/src/semaphores.qdoc b/examples/corelib/threads/doc/src/semaphores.qdoc
index abc961811a..6414213332 100644
--- a/examples/corelib/threads/doc/src/semaphores.qdoc
+++ b/examples/corelib/threads/doc/src/semaphores.qdoc
@@ -129,7 +129,7 @@
\c{freeBytes.available()} is \c BufferSize - 1 and
\c{usedBytes.available()} is 1. At that point, two things can
happen: Either the consumer thread takes over and reads that
- byte, or the consumer gets to produce a second byte.
+ byte, or the producer thread gets to produce a second byte.
The producer-consumer model presented in this example makes it
possible to write highly concurrent multithreaded applications.