mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-21 09:29:37 +00:00
threading: whitespace
This commit is contained in:
parent
d322e2fbe0
commit
1c831aa50d
2 changed files with 7 additions and 5 deletions
|
|
@ -66,11 +66,11 @@ ThreadPool::ThreadPool(int pool_size, std::function<void(int)> b)
|
|||
: body(std::move(b))
|
||||
{
|
||||
#ifdef YOSYS_ENABLE_THREADS
|
||||
threads.reserve(pool_size);
|
||||
for (int i = 0; i < pool_size; i++)
|
||||
threads.emplace_back([i, this]{ body(i); });
|
||||
threads.reserve(pool_size);
|
||||
for (int i = 0; i < pool_size; i++)
|
||||
threads.emplace_back([i, this]{ body(i); });
|
||||
#else
|
||||
(void)pool_size;
|
||||
(void)pool_size;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue