Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: base/message_loop/message_pump.h

Issue 2396093003: Revert of Verify if GPU message pump is signaled when it hangs in WaitForWork (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/message_loop/message_loop.cc ('k') | base/message_loop/message_pump.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_MESSAGE_LOOP_MESSAGE_PUMP_H_ 5 #ifndef BASE_MESSAGE_LOOP_MESSAGE_PUMP_H_
6 #define BASE_MESSAGE_LOOP_MESSAGE_PUMP_H_ 6 #define BASE_MESSAGE_LOOP_MESSAGE_PUMP_H_
7 7
8 #include "base/base_export.h" 8 #include "base/base_export.h"
9 #include "base/message_loop/timer_slack.h" 9 #include "base/message_loop/timer_slack.h"
10 #include "base/threading/non_thread_safe.h" 10 #include "base/threading/non_thread_safe.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // until it returns a value of false. 117 // until it returns a value of false.
118 virtual void ScheduleWork() = 0; 118 virtual void ScheduleWork() = 0;
119 119
120 // Schedule a DoDelayedWork callback to happen at the specified time, 120 // Schedule a DoDelayedWork callback to happen at the specified time,
121 // cancelling any pending DoDelayedWork callback. This method may only be 121 // cancelling any pending DoDelayedWork callback. This method may only be
122 // used on the thread that called Run. 122 // used on the thread that called Run.
123 virtual void ScheduleDelayedWork(const TimeTicks& delayed_work_time) = 0; 123 virtual void ScheduleDelayedWork(const TimeTicks& delayed_work_time) = 0;
124 124
125 // Sets the timer slack to the specified value. 125 // Sets the timer slack to the specified value.
126 virtual void SetTimerSlack(TimerSlack timer_slack); 126 virtual void SetTimerSlack(TimerSlack timer_slack);
127
128 #if defined(OS_WIN)
129 // TODO (stanisc): crbug.com/596190: Remove this after the signaling issue
130 // has been investigated.
131 // This should be used for diagnostic only. If message pump wake-up mechanism
132 // is based on auto-reset event this call would reset the event to unset
133 // state.
134 virtual bool WasSignaled();
135 #endif
136 }; 127 };
137 128
138 } // namespace base 129 } // namespace base
139 130
140 #endif // BASE_MESSAGE_LOOP_MESSAGE_PUMP_H_ 131 #endif // BASE_MESSAGE_LOOP_MESSAGE_PUMP_H_
OLDNEW
« no previous file with comments | « base/message_loop/message_loop.cc ('k') | base/message_loop/message_pump.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698