diff --git a/src/iothread.cpp b/src/iothread.cpp index 5f40fe5bc..c62226aad 100644 --- a/src/iothread.cpp +++ b/src/iothread.cpp @@ -102,7 +102,7 @@ struct thread_pool_t { /// The function \p func will execute in one of the pool's threads. /// \p completion will run on the main thread, if it is not missing. /// If \p cant_wait is set, disrespect the thread limit, because extant threads may - ///want to wait for new threads. + /// want to wait for new threads. int perform(void_function_t &&func, void_function_t &&completion, bool cant_wait); private: diff --git a/src/iothread.h b/src/iothread.h index 4dd646a78..5d91b2b34 100644 --- a/src/iothread.h +++ b/src/iothread.h @@ -31,7 +31,8 @@ void iothread_service_completion(void); int iothread_drain_all(void); // Internal implementation -int iothread_perform_impl(std::function &&func, std::function &&completion, bool cant_wait = false); +int iothread_perform_impl(std::function &&func, std::function &&completion, + bool cant_wait = false); // Template helpers // This is the glue part of the handler-completion handoff