spinlock: reduce iterations for testing
4096 iterations should be enough to demonstrate any issues, but still execute quickly enough for everyday testing
This commit is contained in:
parent
e1d87afe37
commit
5dda5d130a
@ -48,7 +48,7 @@ main ()
|
||||
if (std::thread::hardware_concurrency () < 2) {
|
||||
tap.skip ("n-way fight");
|
||||
} else {
|
||||
constexpr int iterations = 1 << 16;
|
||||
constexpr int iterations = 1 << 12;
|
||||
util::job::flag start_flag;
|
||||
|
||||
std::vector<std::thread> contestants;
|
||||
|
Loading…
Reference in New Issue
Block a user