Chromium Code Reviews| Index: runtime/vm/thread.h |
| diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h |
| index c554fb6af7f2370bc4dcf77a39cc78582c54acb8..debe182b5d210dcb0ddc50253e07f8787d387c24 100644 |
| --- a/runtime/vm/thread.h |
| +++ b/runtime/vm/thread.h |
| @@ -54,6 +54,10 @@ class MonitorLocker : public StackResource { |
| return monitor_->Wait(millis); |
| } |
| + Monitor::WaitResult WaitMicros(int64_t micros = dart::Monitor::kNoTimeout) { |
| + return monitor_->WaitMicros(micros); |
| + } |
| + |
| void Notify() { |
| monitor_->Notify(); |
| } |