fixed typos
This commit is contained in:
parent
e46de87355
commit
3add45dfdf
|
|
@ -30,7 +30,7 @@ public:
|
|||
*
|
||||
* @tparam F Type of join function
|
||||
* @param size Number of threads
|
||||
* @param join_func Join function.
|
||||
* @param join_func Join-function.
|
||||
*/
|
||||
template<typename F>
|
||||
leader_follower_thread_pool(const std::size_t size, F join_func)
|
||||
|
|
@ -55,7 +55,7 @@ public:
|
|||
void promote_new_leader();
|
||||
|
||||
/**
|
||||
* Returns number of threads.
|
||||
* Returns the number of threads.
|
||||
*
|
||||
* @return Number of threads.
|
||||
*/
|
||||
|
|
@ -85,7 +85,7 @@ public:
|
|||
/**
|
||||
* Returns true if the thread pool is running.
|
||||
*
|
||||
* @return True if thread pool is running.
|
||||
* @return True if the thread pool is running.
|
||||
*/
|
||||
[[nodiscard]] bool is_running() const;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue