Doc: Fix typo in the Semaphores Example
Change-Id: I140915014836a3bbc449c953aa54452483b0b886 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
This commit is contained in:
parent
6c473b7e08
commit
fbc9edb5e7
@ -129,7 +129,7 @@
|
|||||||
\c{freeBytes.available()} is \c BufferSize - 1 and
|
\c{freeBytes.available()} is \c BufferSize - 1 and
|
||||||
\c{usedBytes.available()} is 1. At that point, two things can
|
\c{usedBytes.available()} is 1. At that point, two things can
|
||||||
happen: Either the consumer thread takes over and reads that
|
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
|
The producer-consumer model presented in this example makes it
|
||||||
possible to write highly concurrent multithreaded applications.
|
possible to write highly concurrent multithreaded applications.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user