diff options
author | Kai Köhne <kai.koehne@qt.io> | 2022-06-10 17:34:41 +0200 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2022-06-15 21:31:02 +0200 |
commit | 9d2cc4dd766ca6538e17040b6ac845ed880ab0fe (patch) | |
tree | a674c1f10c2bb266b2cff88ef3d6d864ed932212 /examples/corelib/threads | |
parent | 37bad1f43b33a460f402f16280719d3b49dd7b24 (diff) |
Fix typos in docs and comments
Found by codespell
Pick-to: 6.4
Change-Id: Ie3e301a23830c773a2e9aff487c702a223d246eb
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'examples/corelib/threads')
-rw-r--r-- | examples/corelib/threads/doc/src/mandelbrot.qdoc | 2 | ||||
-rw-r--r-- | examples/corelib/threads/doc/src/semaphores.qdoc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/corelib/threads/doc/src/mandelbrot.qdoc b/examples/corelib/threads/doc/src/mandelbrot.qdoc index e0f703bf3c..aaa6356a2c 100644 --- a/examples/corelib/threads/doc/src/mandelbrot.qdoc +++ b/examples/corelib/threads/doc/src/mandelbrot.qdoc @@ -146,7 +146,7 @@ rendering parameters in local variables. As usual, we protect accesses to the member variables using the class's mutex. Storing the member variables in local variables allows us to minimize the - amout of code that needs to be protected by a mutex. This ensures + amount of code that needs to be protected by a mutex. This ensures that the main thread will never have to block for too long when it needs to access \c{RenderThread}'s member variables (e.g., in \c render()). diff --git a/examples/corelib/threads/doc/src/semaphores.qdoc b/examples/corelib/threads/doc/src/semaphores.qdoc index c1d8600c17..b8e1ab1b52 100644 --- a/examples/corelib/threads/doc/src/semaphores.qdoc +++ b/examples/corelib/threads/doc/src/semaphores.qdoc @@ -39,7 +39,7 @@ \snippet threads/semaphores/semaphores.cpp 0 - \c DataSize is the amout of data that the producer will generate. + \c DataSize is the amount of data that the producer will generate. To keep the example as simple as possible, we make it a constant. \c BufferSize is the size of the circular buffer. It is less than \c DataSize, meaning that at some point the producer will reach |