forked from firka/flutter
Update timeout_microseconds to timeout in docs (flutter/engine#13179)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user