From 94d453d7d2388c7d831729158cc5291b5cac75bc Mon Sep 17 00:00:00 2001 From: liyuqian Date: Wed, 16 Oct 2019 16:39:30 -0700 Subject: [PATCH] Update timeout_microseconds to timeout in docs (flutter/engine#13179) --- engine/src/flutter/fml/synchronization/waitable_event.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/fml/synchronization/waitable_event.h b/engine/src/flutter/fml/synchronization/waitable_event.h index 33640ded23..0a6c81b647 100644 --- a/engine/src/flutter/fml/synchronization/waitable_event.h +++ b/engine/src/flutter/fml/synchronization/waitable_event.h @@ -52,7 +52,7 @@ class AutoResetWaitableEvent final { // called) each |Signal()| unblocks exactly one |Wait()|. void Wait(); - // Like |Wait()|, but with a timeout. Also unblocks if |timeout_microseconds| + // Like |Wait()|, but with a timeout. Also unblocks if |timeout| expires // without being signaled in which case it returns true (otherwise, it returns // false). bool WaitWithTimeout(TimeDelta timeout); @@ -95,7 +95,7 @@ class ManualResetWaitableEvent final { // Blocks the calling thread until the event is signaled. void Wait(); - // Like |Wait()|, but with a timeout. Also unblocks if |timeout_microseconds| + // Like |Wait()|, but with a timeout. Also unblocks if |timeout| expires // without being signaled in which case it returns true (otherwise, it returns // false). bool WaitWithTimeout(TimeDelta timeout);