Run clang-format

This commit is contained in:
ridiculousfish 2020-01-21 14:43:17 -08:00
parent 6fb545cf9b
commit e398f66772
2 changed files with 3 additions and 2 deletions

View File

@ -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:

View File

@ -31,7 +31,8 @@ void iothread_service_completion(void);
int iothread_drain_all(void);
// Internal implementation
int iothread_perform_impl(std::function<void(void)> &&func, std::function<void(void)> &&completion, bool cant_wait = false);
int iothread_perform_impl(std::function<void(void)> &&func, std::function<void(void)> &&completion,
bool cant_wait = false);
// Template helpers
// This is the glue part of the handler-completion handoff