mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 10:30:28 +08:00
Run clang-format
This commit is contained in:
parent
6fb545cf9b
commit
e398f66772
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user