1
0
mirror of https://github.com/bshoshany/thread-pool.git synced 2026-07-29 15:03:00 +04:00

Updated to v1.7

This commit is contained in:
Barak Shoshany
2021-06-02 10:38:24 -04:00
committed by GitHub
parent bc66b8a222
commit 910f7cd95b
2 changed files with 8 additions and 6 deletions
+6 -6
View File
@@ -3,8 +3,8 @@
/**
* @file thread_pool.hpp
* @author Barak Shoshany (baraksh@gmail.com) (http://baraksh.com)
* @version 1.6
* @date 2021-05-26
* @version 1.7
* @date 2021-06-02
* @copyright Copyright (c) 2021 Barak Shoshany. Licensed under the MIT license. If you use this library in published research, please cite it as follows:
* - Barak Shoshany, "A C++17 Thread Pool for High-Performance Scientific Computing", doi:10.5281/zenodo.4742687, arXiv:2105.00613 (May 2021)
*
@@ -142,10 +142,10 @@ public:
loop(i);
blocks_running--;
});
while (blocks_running != 0)
{
sleep_or_yield();
}
}
while (blocks_running != 0)
{
sleep_or_yield();
}
}