mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
BusyLoopTest: Only run 10 times.
Running this test 100 times is not worth to spend 1 second.
This commit is contained in:
parent
ddc9e414ee
commit
3b3cbc4aab
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ TEST(BusyLoopTest, MultiThreaded)
|
||||||
{
|
{
|
||||||
Common::BlockingLoop loop;
|
Common::BlockingLoop loop;
|
||||||
Common::Event e;
|
Common::Event e;
|
||||||
for (int i = 0; i < 100; i++)
|
for (int i = 0; i < 10; i++)
|
||||||
{
|
{
|
||||||
loop.Prepare();
|
loop.Prepare();
|
||||||
std::thread loop_thread([&]() { loop.Run([&]() { e.Set(); }); });
|
std::thread loop_thread([&]() { loop.Run([&]() { e.Set(); }); });
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue