HomeSort by relevance Sort by last modified time
    Searched defs:thread_pool (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/sandbox/win/src/
threadpool_unittest.cc 20 Win2kThreadPool thread_pool; local
22 EXPECT_EQ(0, thread_pool.OutstandingWaits());
28 EXPECT_FALSE(thread_pool.RegisterWait(0, event1, EmptyCallBack, &context));
29 EXPECT_EQ(0, thread_pool.OutstandingWaits());
31 EXPECT_TRUE(thread_pool.RegisterWait(this, event1, EmptyCallBack, &context));
32 EXPECT_EQ(1, thread_pool.OutstandingWaits());
33 EXPECT_TRUE(thread_pool.RegisterWait(this, event2, EmptyCallBack, &context));
34 EXPECT_EQ(2, thread_pool.OutstandingWaits());
36 EXPECT_TRUE(thread_pool.UnRegisterWaits(this));
37 EXPECT_EQ(0, thread_pool.OutstandingWaits())
45 Win2kThreadPool thread_pool; local
74 Win2kThreadPool thread_pool; local
    [all...]
  /art/runtime/
thread_pool.cc 17 #include "thread_pool.h"
28 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name,
30 : thread_pool_(thread_pool),
202 WorkStealingWorker::WorkStealingWorker(ThreadPool* thread_pool, const std::string& name,
204 : ThreadPoolWorker(thread_pool, name, stack_size), task_(NULL) {}
209 WorkStealingThreadPool* thread_pool = down_cast<WorkStealingThreadPool*>(thread_pool_); local
215 MutexLock mu(self, thread_pool->work_steal_lock_);
231 while (thread_pool->GetTaskCount(self) == 0) {
235 MutexLock mu(self, thread_pool->work_steal_lock_);
237 steal_from_task = thread_pool->FindTaskToStealFrom(self)
    [all...]
  /art/runtime/gc/collector/
mark_sweep.cc 552 MarkStackTask(ThreadPool* thread_pool, MarkSweep* mark_sweep, size_t mark_stack_size,
555 thread_pool_(thread_pool),
682 CardScanTask(ThreadPool* thread_pool, MarkSweep* mark_sweep,
686 : MarkStackTask<false>(thread_pool, mark_sweep, mark_stack_size, mark_stack_obj),
727 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); local
773 auto* task = new CardScanTask(thread_pool, this, space->GetMarkBitmap(), card_begin,
776 thread_pool->AddTask(self, task);
784 thread_pool->SetMaxActiveWorkers(thread_count - 1);
785 thread_pool->StartWorkers(self);
786 thread_pool->Wait(self, true, true)
851 ThreadPool* thread_pool = heap_->GetThreadPool(); local
1168 ThreadPool* thread_pool = GetHeap()->GetThreadPool(); local
    [all...]

Completed in 194 milliseconds