Skip to content

Commit

Permalink
Update timeout_microseconds to timeout in docs (flutter#13179)
Browse files Browse the repository at this point in the history
  • Loading branch information
liyuqian authored Oct 16, 2019
1 parent b6858d2 commit a1796fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fml/synchronization/waitable_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit a1796fc

Please sign in to comment.