Run clang-format

This commit is contained in:
Bassem Girgis
2018-10-18 00:40:34 -05:00
parent fffe4528da
commit 31c32e368a
149 changed files with 5974 additions and 6287 deletions

View File

@@ -1,12 +1,11 @@
void thread_pool::run_pending_task()
void
thread_pool::run_pending_task()
{
function_wrapper task;
if(work_queue.try_pop(task))
{
task();
}
else
{
std::this_thread::yield();
}
function_wrapper task;
if (work_queue.try_pop(task)) {
task();
}
else {
std::this_thread::yield();
}
}