Searched refs:Wait (Results 1 - 25 of 29) sorted by relevance

12

/art/runtime/
H A Dbarrier.cc35 void Barrier::Wait(Thread* self) { function in class:art::Barrier
48 condition_.Wait(self);
H A Dbarrier.h34 // Wait on the barrier, decrement the count.
35 void Wait(Thread* self);
H A Dsignal_set.h46 int Wait() { function in class:art::SignalSet
H A Dbarrier_test.cc40 barrier_->Wait(self);
43 barrier_->Wait(self);
89 // Wait for all the threads to finish.
90 thread_pool.Wait(self, true, false);
134 // Wait for all the tasks to complete using the barrier.
H A Dthread_pool.cc48 thread_pool_->creation_barier_.Wait(self);
91 // Wait for all of the threads to attach.
92 creation_barier_.Wait(self);
111 // Wait for the threads to finish.
148 task_queue_condition_.Wait(self);
174 void ThreadPool::Wait(Thread* self, bool do_work, bool may_hold_locks) { function in class:art::ThreadPool
182 // Wait until each thread is waiting and the task list is empty.
186 completion_condition_.Wait(self);
H A Dthread_pool_test.cc69 // Wait for tasks to complete.
70 thread_pool.Wait(self, true, false);
137 thread_pool.Wait(self, true, false);
H A Dmonitor.h86 static void Wait(Thread* self, mirror::Object* obj, int64_t ms, int32_t ns,
139 void Wait(Thread* self, int64_t msec, int32_t nsec, bool interruptShouldThrow, ThreadState why)
H A Dsignal_catcher.cc75 cond_.Wait(self);
170 int signal_number = signals.Wait();
H A Dthread-inl.h95 // Wait while our suspend count is non-zero.
101 Thread::resume_cond_->Wait(this);
H A Dthread_pool.h83 // Wait for all tasks currently on queue to get completed.
84 void Wait(Thread* self, bool do_work, bool may_hold_locks);
H A Dmonitor.cc352 // Wait should have already cleared the fields.
369 * Wait on a monitor until timeout, interrupt, or notification. Used for
391 void Monitor::Wait(Thread* self, int64_t ms, int32_t ns, function in class:art::Monitor
466 // Wait for a notification or a timeout to occur.
468 self->wait_cond_->Wait(self);
759 void Monitor::Wait(Thread* self, mirror::Object *obj, int64_t ms, int32_t ns, function in class:art::Monitor
780 LW_MONITOR(*thinp)->Wait(self, ms, ns, interruptShouldThrow, why);
H A Dthread_list.cc191 // Wait until the thread is suspended.
395 Thread::resume_cond_->Wait(self);
459 // Wait for another thread to exit before re-checking.
460 thread_exit_cond_.Wait(self);
H A Dobject_utils.h50 Monitor::Wait(self_, obj_, 0, 0, false, kWaiting);
H A Druntime.cc114 shutdown_cond_->Wait(self);
/art/runtime/native/
H A Djava_lang_Object.cc49 o->Wait(soa.Self());
55 o->Wait(soa.Self(), ms, ns);
H A Djava_lang_Thread.cc155 Monitor::Wait(Thread::Current(), lock, ms, ns, true, kSleeping);
/art/runtime/mirror/
H A Dobject-inl.h66 inline void Object::Wait(Thread* self) { function in class:art::mirror::Object
67 Monitor::Wait(self, this, 0, 0, true, kWaiting);
70 inline void Object::Wait(Thread* self, int64_t ms, int32_t ns) { function in class:art::mirror::Object
71 Monitor::Wait(self, this, ms, ns, true, kTimedWaiting);
H A Dobject.h117 void Wait(Thread* self) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
119 void Wait(Thread* self, int64_t timeout, int32_t nanos) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
/art/runtime/jdwp/
H A Djdwp_main.cc261 * Wait until the thread finishes basic initialization.
264 state->thread_start_cond_.Wait(self);
279 * Wait until the thread finishes basic initialization.
282 state->thread_start_cond_.Wait(self);
296 state->attach_cond_.Wait(self);
H A Djdwp_event.cc61 - If I'm going to suspend, grab the "I am posting an event" token. Wait
600 event_thread_cond_.Wait(self);
/art/runtime/base/
H A Dmutex_test.cc125 state.cv.Wait(Thread::Current());
H A Dmutex.h323 // TODO: No thread safety analysis on Wait and TimedWait as they call mutex operations via their
325 void Wait(Thread* self) NO_THREAD_SAFETY_ANALYSIS;
327 // Variant of Wait that should be used with caution. Doesn't validate that no mutexes are held
H A Dmutex.cc834 void ConditionVariable::Wait(Thread* self) { function in class:art::ConditionVariable
/art/dex2oat/
H A Ddex2oat.cc487 self->Wait();
511 void Wait() { function in class:art::WatchDog
/art/runtime/gc/collector/
H A Dmark_sweep.cc847 thread_pool->Wait(self, true, true);
979 thread_pool->Wait(self, true, true);
1417 thread_pool->Wait(self, true, true);

Completed in 283 milliseconds

12