Home
last modified time | relevance | path

Searched refs:ConditionVariable (Results 1 – 25 of 49) sorted by relevance

12

/external/chromium_org/v8/src/base/platform/
Dcondition-variable.cc17 ConditionVariable::ConditionVariable() { in ConditionVariable() function in v8::base::ConditionVariable
41 ConditionVariable::~ConditionVariable() { in ~ConditionVariable()
48 void ConditionVariable::NotifyOne() { in NotifyOne()
55 void ConditionVariable::NotifyAll() { in NotifyAll()
62 void ConditionVariable::Wait(Mutex* mutex) { in Wait()
71 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) { in WaitFor()
114 struct ConditionVariable::Event {
141 ConditionVariable::NativeHandle::~NativeHandle() {
152 ConditionVariable::Event* ConditionVariable::NativeHandle::Pre() {
180 void ConditionVariable::NativeHandle::Post(Event* event, bool result) {
[all …]
Dcondition-variable.h31 class ConditionVariable FINAL {
33 ConditionVariable();
34 ~ConditionVariable();
96 DISALLOW_COPY_AND_ASSIGN(ConditionVariable);
111 ConditionVariable, DefaultConstructTrait<ConditionVariable>,
Dcondition-variable-unittest.cc14 TEST(ConditionVariable, WaitForAfterNofityOnSameThread) { in TEST() argument
17 ConditionVariable cv; in TEST()
53 ConditionVariable cv_;
60 TEST(ConditionVariable, MultipleThreadsWithSeparateConditionVariables) { in TEST() argument
134 ConditionVariable* cv_;
141 TEST(ConditionVariable, MultipleThreadsWithSharedSeparateConditionVariables) { in TEST() argument
144 ConditionVariable cv; in TEST()
224 ConditionVariable* cv, Mutex* mutex) in LoopIncrementThread()
262 ConditionVariable* cv_;
269 TEST(ConditionVariable, LoopIncrement) { in TEST() argument
[all …]
Dmutex.h89 friend class ConditionVariable; variable
/external/chromium_org/base/synchronization/
Dcondition_variable_posix.cc17 ConditionVariable::ConditionVariable(Lock* user_lock) in ConditionVariable() function in base::ConditionVariable
44 ConditionVariable::~ConditionVariable() { in ~ConditionVariable()
49 void ConditionVariable::Wait() { in Wait()
61 void ConditionVariable::TimedWait(const TimeDelta& max_time) { in TimedWait()
112 void ConditionVariable::Broadcast() { in Broadcast()
117 void ConditionVariable::Signal() { in Signal()
Dcondition_variable.h83 class BASE_EXPORT ConditionVariable {
86 explicit ConditionVariable(Lock* user_lock);
88 ~ConditionVariable();
113 DISALLOW_COPY_AND_ASSIGN(ConditionVariable);
Dcondition_variable_unittest.cc91 ConditionVariable* work_is_available();
92 ConditionVariable* all_threads_have_ids();
93 ConditionVariable* no_more_tasks();
125 ConditionVariable work_is_available_; // To tell threads there is work.
128 ConditionVariable all_threads_have_ids_; // All threads are running.
129 ConditionVariable no_more_tasks_; // Task count is zero.
155 ConditionVariable cv1(&lock); in TEST_F()
159 ConditionVariable cv(&lock); in TEST_F()
175 ConditionVariable cv(&lock); in TEST_F()
218 ConditionVariable cv(&lock); in TEST_F()
[all …]
Dcondition_variable_win.cc640 ConditionVariable::ConditionVariable(Lock* user_lock) in ConditionVariable() function in base::ConditionVariable
649 ConditionVariable::~ConditionVariable() { in ~ConditionVariable()
653 void ConditionVariable::Wait() { in Wait()
657 void ConditionVariable::TimedWait(const TimeDelta& max_time) { in TimedWait()
661 void ConditionVariable::Broadcast() { in Broadcast()
665 void ConditionVariable::Signal() { in Signal()
Dlock.h65 friend class ConditionVariable; variable
Dwaitable_event_posix.cc144 base::ConditionVariable* cv() { in cv()
152 base::ConditionVariable cv_;
/external/chromium_org/base/threading/
Dworker_pool_posix_unittest.cc26 ConditionVariable* pending_tasks_available_cv() { in pending_tasks_available_cv()
33 ConditionVariable* num_idle_threads_cv() { in num_idle_threads_cv()
36 void set_num_idle_threads_cv(ConditionVariable* cv) { in set_num_idle_threads_cv()
75 ConditionVariable* num_waiting_to_start_cv;
101 peer_.set_num_idle_threads_cv(new ConditionVariable(peer_.lock())); in SetUp()
145 ConditionVariable num_waiting_to_start_cv_;
Dworker_pool_posix.h85 ConditionVariable pending_tasks_available_cv_;
91 scoped_ptr<ConditionVariable> num_idle_threads_cv_;
Dwatchdog.h80 ConditionVariable condition_variable_;
/external/chromium_org/components/cronet/android/java/src/org/chromium/net/
DChromiumUrlRequestContext.java8 import android.os.ConditionVariable;
30 private final ConditionVariable mStarted = new ConditionVariable();
/external/chromium_org/components/cronet/android/test/javatests/src/org/chromium/cronet_test_apk/
DMockUrlRequestJobTest.java7 import android.os.ConditionVariable;
32 ConditionVariable mComplete = new ConditionVariable();
DCronetUrlTest.java7 import android.os.ConditionVariable;
99 ConditionVariable mComplete = new ConditionVariable();
/external/chromium_org/content/child/
Dchild_thread.cc173 static base::ConditionVariable* New(void* instance) { in New()
174 return new (instance) base::ConditionVariable( in New()
177 static void Delete(base::ConditionVariable* instance) { in Delete()
178 instance->~ConditionVariable(); in Delete()
184 base::LazyInstance<base::ConditionVariable, CondVarLazyInstanceTraits>
/external/chromium_org/content/common/gpu/media/
Dvaapi_video_decode_accelerator.h190 base::ConditionVariable input_ready_;
212 base::ConditionVariable surfaces_available_;
Dvideo_accelerator_unittest_helpers.h34 base::ConditionVariable cv_;
/external/chromium_org/cc/resources/
Dtask_graph_runner.h208 base::ConditionVariable has_ready_to_run_tasks_cv_;
212 base::ConditionVariable has_namespaces_with_finished_running_tasks_cv_;
/external/chromium_org/mojo/system/
Dwaiter.h63 base::ConditionVariable cv_; // Associated to |lock_|.
/external/chromium_org/content/browser/renderer_host/
Dtext_input_client_mac.h103 base::ConditionVariable condition_;
/external/chromium_org/net/base/
Dnetwork_change_notifier_mac.h69 mutable base::ConditionVariable initial_connection_type_cv_;
Daddress_tracker_linux.h142 base::ConditionVariable is_offline_initialized_cv_;
/external/chromium_org/ppapi/shared_impl/
Dtracked_callback.h181 scoped_ptr<base::ConditionVariable> operation_completed_condvar_;

12