diff options
Diffstat (limited to 'src/zencore/thread.cpp')
| -rw-r--r-- | src/zencore/thread.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zencore/thread.cpp b/src/zencore/thread.cpp index e25ef7460..1f1b1b8f5 100644 --- a/src/zencore/thread.cpp +++ b/src/zencore/thread.cpp @@ -1209,7 +1209,7 @@ TEST_CASE("NamedEvent") // Timeout test for (uint32_t i = 0; i < 8; ++i) { - bool bEventSet = TestEvent.Wait(100); + bool bEventSet = TestEvent.Wait(10); CHECK(!bEventSet); } @@ -1219,13 +1219,13 @@ TEST_CASE("NamedEvent") ReadyEvent.Set(); NamedEvent TestEvent(Name); - TestEvent.Wait(1000); + TestEvent.Wait(100); }); NamedEvent ReadyEvent(Name + "_ready"); ReadyEvent.Wait(); - zen::Sleep(500); + zen::Sleep(50); TestEvent.Set(); Waiter.join(); |