| Index: webrtc/system_wrappers/source/event_timer_posix.h
|
| diff --git a/webrtc/system_wrappers/source/event_timer_posix.h b/webrtc/system_wrappers/source/event_timer_posix.h
|
| index bbf51f72db7b36c10ad412fa7f630f8ecec62d0b..af3715ee8b222186672f24eb031f2eb3827acd0b 100644
|
| --- a/webrtc/system_wrappers/source/event_timer_posix.h
|
| +++ b/webrtc/system_wrappers/source/event_timer_posix.h
|
| @@ -37,11 +37,14 @@ class EventTimerPosix : public EventTimerWrapper {
|
| bool StopTimer() override;
|
|
|
| private:
|
| + friend class EventTimerPosixTest;
|
| +
|
| static bool Run(void* obj);
|
| bool Process();
|
| - EventTypeWrapper Wait(timespec* end_at);
|
| + EventTypeWrapper Wait(timespec* end_at, bool reset_state);
|
| +
|
| + virtual rtc::PlatformThread* CreateThread();
|
|
|
| - private:
|
| pthread_cond_t cond_;
|
| pthread_mutex_t mutex_;
|
| bool event_set_;
|
| @@ -52,8 +55,9 @@ class EventTimerPosix : public EventTimerWrapper {
|
| timespec created_at_;
|
|
|
| bool periodic_;
|
| - unsigned long time_; // In ms
|
| + unsigned long time_ms_;
|
| unsigned long count_;
|
| + bool is_stopping_;
|
| };
|
|
|
| } // namespace webrtc
|
|
|