Home
last modified time | relevance | path

Searched refs:threads_ (Results 1 – 15 of 15) sorted by relevance

/external/chromium/base/threading/
Dsimple_thread.cc87 DCHECK(threads_.empty()); in ~DelegateSimpleThreadPool()
93 DCHECK(threads_.empty()) << "Start() called with outstanding threads."; in Start()
97 threads_.push_back(thread); in Start()
102 DCHECK(!threads_.empty()) << "JoinAll() called with no outstanding threads."; in JoinAll()
109 threads_[i]->Join(); in JoinAll()
110 delete threads_[i]; in JoinAll()
112 threads_.clear(); in JoinAll()
Dsimple_thread.h176 std::vector<DelegateSimpleThread*> threads_; variable
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_thread_registry.cc101 threads_ = (ThreadContextBase **)MmapOrDie(max_threads_ * sizeof(threads_[0]), in ThreadRegistry()
131 threads_[tid] = tctx; in CreateThread()
155 ThreadContextBase *tctx = threads_[tid]; in RunCallbackForEachThreadLocked()
165 ThreadContextBase *tctx = threads_[tid]; in FindThread()
176 ThreadContextBase *tctx = threads_[tid]; in FindThreadContextLocked()
197 ThreadContextBase *tctx = threads_[tid]; in SetThreadName()
206 ThreadContextBase *tctx = threads_[tid]; in DetachThread()
223 ThreadContextBase *tctx = threads_[tid]; in JoinThread()
240 ThreadContextBase *tctx = threads_[tid]; in FinishThread()
254 ThreadContextBase *tctx = threads_[tid]; in StartThread()
Dsanitizer_thread_registry.h91 return threads_[tid]; in GetThreadLocked()
132 ThreadContextBase **threads_; // Array of thread contexts is leaked. variable
/external/chromium_org/base/threading/
Dsimple_thread.cc94 DCHECK(threads_.empty()); in ~DelegateSimpleThreadPool()
100 DCHECK(threads_.empty()) << "Start() called with outstanding threads."; in Start()
104 threads_.push_back(thread); in Start()
109 DCHECK(!threads_.empty()) << "JoinAll() called with no outstanding threads."; in JoinAll()
116 threads_[i]->Join(); in JoinAll()
117 delete threads_[i]; in JoinAll()
119 threads_.clear(); in JoinAll()
Dsequenced_worker_pool.cc425 ThreadMap threads_; member in base::SequencedWorkerPool::Inner
540 for (ThreadMap::iterator it = threads_.begin(); it != threads_.end(); ++it) in ~Inner()
542 threads_.clear(); in ~Inner()
624 return ContainsKey(threads_, PlatformThread::CurrentId()); in RunsTasksOnCurrentThread()
630 ThreadMap::const_iterator found = threads_.find(PlatformThread::CurrentId()); in IsRunningSequenceOnCurrentThread()
631 if (found == threads_.end()) in IsRunningSequenceOnCurrentThread()
644 if (pending_tasks_.empty() && waiting_thread_count_ == threads_.size()) in CleanupForTesting()
711 threads_.insert( in ThreadLoop()
830 cleanup_idlers_ != threads_.size() - 1) { in HandleCleanup()
887 ThreadMap::const_iterator found = threads_.find(PlatformThread::CurrentId()); in LockedCurrentThreadShutdownBehavior()
[all …]
Dsimple_thread.h182 std::vector<DelegateSimpleThread*> threads_; variable
/external/chromium_org/native_client_sdk/src/libraries/sdk_util/
Dthread_pool.cc19 : threads_(NULL), counter_(0), num_threads_(num_threads), exiting_(false), in ThreadPool()
33 threads_ = new pthread_t[num_threads_]; in ThreadPool()
35 status = pthread_create(&threads_[i], NULL, WorkerThreadEntry, this); in ThreadPool()
48 delete[] threads_; in ~ThreadPool()
78 pthread_join(threads_[i], &retval); in PostExitAndJoinAll()
Dthread_pool.h39 pthread_t* threads_; variable
/external/chromium/third_party/libjingle/source/talk/base/
Dthread.cc147 threads_.push_back(thread); in Add()
152 threads_.erase(std::remove(threads_.begin(), threads_.end(), thread), in Remove()
153 threads_.end()); in Remove()
159 for (size_t i = 0; i < g_thmgr.threads_.size(); ++i) { in StopAllThreads_()
160 g_thmgr.threads_[i]->Stop(); in StopAllThreads_()
Dthread.h80 std::vector<Thread *> threads_; variable
/external/chromium/chrome/common/deprecated/
Devent_sys_unittest.cc152 for (size_t i = 0; i < threads_.size(); i++) { in ~ThreadTester()
153 base::PlatformThread::Join(threads_[i].thread); in ~ThreadTester()
182 threads_.push_back(info); in Go()
233 std::vector<ThreadInfo> threads_; member in __anone725ff860111::ThreadTester
/external/chromium_org/chrome/browser/chromeos/login/
Dmulti_profile_user_controller_unittest.cc173 content::TestBrowserThreadBundle threads_; member in chromeos::MultiProfileUserControllerTest
/external/chromium_org/third_party/libjingle/
Dmods-since-v0_4_0.diff1141 > return(std::find(threads_.begin(), threads_.end(), thread) != threads_.end());
/external/chromium/third_party/libjingle/
Dmods-since-v0_4_0.diff1141 > return(std::find(threads_.begin(), threads_.end(), thread) != threads_.end());