diff options
Diffstat (limited to 'src/buildtool/multithreading')
-rw-r--r-- | src/buildtool/multithreading/async_map_consumer.hpp | 4 | ||||
-rw-r--r-- | src/buildtool/multithreading/notification_queue.hpp | 2 |
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() { { |