Update timeout_microseconds to timeout in docs (flutter/engine#13179)

This commit is contained in:
liyuqian
2019-10-16 16:39:30 -07:00
committed by GitHub
parent 5b8089a3cc
commit 94d453d7d2

View File

@@ -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);