summaryrefslogtreecommitdiff
path: root/src/buildtool/multithreading
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-02-22 15:15:43 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-02-22 15:39:46 +0100
commit91ba464409894c0215e54f086722309b9634d6f2 (patch)
tree9dd9364ab5a64716992055a3c22f2e2ad5400949 /src/buildtool/multithreading
parentd7d81aa3ed9fedd5e78d6e5aedb43b124427914f (diff)
downloadjustbuild-91ba464409894c0215e54f086722309b9634d6f2.tar.gz
cleanup: Fix typos in code line comments and logging messages
Diffstat (limited to 'src/buildtool/multithreading')
-rw-r--r--src/buildtool/multithreading/async_map_consumer.hpp4
-rw-r--r--src/buildtool/multithreading/notification_queue.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/buildtool/multithreading/async_map_consumer.hpp b/src/buildtool/multithreading/async_map_consumer.hpp
index c79f0964..3dcc0eff 100644
--- a/src/buildtool/multithreading/async_map_consumer.hpp
+++ b/src/buildtool/multithreading/async_map_consumer.hpp
@@ -40,8 +40,8 @@ using AsyncMapConsumerLoggerPtr = std::shared_ptr<AsyncMapConsumerLogger>;
// ready. As template parameters, it takes the type that keys will have, the
// type that their corresponding values will have and the type of the underlying
// thread-safe associative container. The default thread-safe associative
-// container is AsyncMap<Key, Value> and any substite must have the same public
-// interface to be used in AsyncMapConsumer.
+// container is AsyncMap<Key, Value> and any substitute must have the same
+// public interface to be used in AsyncMapConsumer.
template <typename Key, typename Value, typename Map = AsyncMap<Key, Value>>
class AsyncMapConsumer {
public:
diff --git a/src/buildtool/multithreading/notification_queue.hpp b/src/buildtool/multithreading/notification_queue.hpp
index 80b5ba92..1df5d659 100644
--- a/src/buildtool/multithreading/notification_queue.hpp
+++ b/src/buildtool/multithreading/notification_queue.hpp
@@ -149,7 +149,7 @@ class NotificationQueue {
}
// Method to communicate to the notification queue that there will not be
- // any more queries. Queries after calling this method are not guaratied to
+ // any more queries. Queries after calling this method are not guarantied to
// work as expected
void done() {
{