Home
last modified time | relevance | path

Searched refs:Waiter (Results 1 – 8 of 8) sorted by relevance

/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
DEventCount.h51 class Waiter;
53 EventCount(MaxSizeVector<Waiter>& waiters) : waiters_(waiters) { in EventCount()
67 void Prewait(Waiter* w) { in Prewait()
73 void CommitWait(Waiter* w) { in CommitWait()
74 w->state = Waiter::kNotSignaled; in CommitWait()
106 void CancelWait(Waiter* w) { in CancelWait()
148 Waiter* w = &waiters_[state & kStackMask]; in Notify()
149 Waiter* wnext = w->next.load(std::memory_order_relaxed); in Notify()
162 Waiter* w = &waiters_[state & kStackMask]; in Notify()
170 class Waiter {
[all …]
DSimpleThreadPool.h64 Waiter* w = waiters_.back(); in Schedule()
91 Waiter w; in WorkerLoop()
124 struct Waiter { struct
139 MaxSizeVector<Waiter*> waiters_; // Stack of waiting threads. argument
DNonBlockingThreadPool.h128 MaxSizeVector<EventCount::Waiter> waiters_;
141 EventCount::Waiter* waiter = &waiters_[thread_id]; in WorkerLoop()
195 bool WaitForWork(EventCount::Waiter* waiter, Task* t) { in WaitForWork()
/external/libchrome/base/synchronization/
Dwaitable_event.h135 class Waiter {
159 virtual ~Waiter() = default;
250 bool Dequeue(Waiter* waiter, void* tag);
255 std::list<Waiter*> waiters_;
270 size_t count, Waiter* waiter);
274 void Enqueue(Waiter* waiter);
Dwaitable_event_posix.cc89 class SyncWaiter : public WaitableEvent::Waiter {
331 Waiter* waiter) { in EnqueueMany()
385 for (std::list<Waiter*>::iterator in SignalAll()
414 void WaitableEvent::Enqueue(Waiter* waiter) { in Enqueue()
422 bool WaitableEvent::WaitableEventKernel::Dequeue(Waiter* waiter, void* tag) { in Dequeue()
423 for (std::list<Waiter*>::iterator in Dequeue()
Dwaitable_event_watcher_posix.cc61 class AsyncWaiter : public WaitableEvent::Waiter {
/external/glide/library/src/main/java/com/bumptech/glide/request/
DRequestFutureTarget.java39 private static final Waiter DEFAULT_WAITER = new Waiter();
46 private final Waiter waiter;
62 …Target(Handler mainHandler, int width, int height, boolean assertBackgroundThread, Waiter waiter) { in RequestFutureTarget()
260 static class Waiter { class in RequestFutureTarget
/external/eigen/unsupported/test/
Dcxx11_eventcount.cpp28 MaxSizeVector<EventCount::Waiter> waiters(1); in test_basic_eventcount()
31 EventCount::Waiter& w = waiters[0]; in test_basic_eventcount()
85 MaxSizeVector<EventCount::Waiter> waiters(kThreads); in test_stress_eventcount()
109 EventCount::Waiter& w = waiters[i]; in test_stress_eventcount()