Home | History | Annotate | Download | only in runtime

Lines Matching defs:self

31   void Run(Thread* self) {
33 LOG(INFO) << "Running: " << *self;
62 Thread* self = Thread::Current();
67 thread_pool.AddTask(self, new CountTask(&count));
69 thread_pool.StartWorkers(self);
71 thread_pool.Wait(self, true, false);
77 Thread* self = Thread::Current();
82 thread_pool.AddTask(self, new CountTask(&count));
88 thread_pool.StartWorkers(self);
90 thread_pool.StopWorkers(self);
92 thread_pool.AddTask(self, new CountTask(&bad_count));
97 thread_pool.StartWorkers(self);
98 thread_pool.Wait(self, false, false);
108 void Run(Thread* self) {
110 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1));
111 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1));
129 Thread* self = Thread::Current();
133 thread_pool.AddTask(self, new TreeTask(&thread_pool, &count, depth));
134 thread_pool.StartWorkers(self);
135 thread_pool.Wait(self, true, false);