Searched refs:thread_count (Results 1 – 5 of 5) sorted by relevance
65 explicit WorkQueue(int thread_count);115 bool ThreadSafeCheckShutdown(int thread_count);492 WorkQueue::WorkQueue(int thread_count) in WorkQueue() argument497 thread_count_(thread_count), in WorkQueue()498 thread_handles_(new PlatformThreadHandle[thread_count]), in WorkQueue()499 assignment_history_(thread_count), in WorkQueue()500 completion_history_(thread_count), in WorkQueue()575 bool WorkQueue::ThreadSafeCheckShutdown(int thread_count) { in ThreadSafeCheckShutdown() argument581 all_shutdown = (shutdown_task_count_ == thread_count); in ThreadSafeCheckShutdown()
131 static String DeathTestThreadWarning(size_t thread_count) { in DeathTestThreadWarning() argument135 if (thread_count == 0) in DeathTestThreadWarning()138 msg << "detected " << thread_count << " threads."; in DeathTestThreadWarning()453 const size_t thread_count = GetThreadCount(); in AssumeRole() local454 if (thread_count != 1) { in AssumeRole()455 GTEST_LOG(WARNING, DeathTestThreadWarning(thread_count)); in AssumeRole()
170 static String DeathTestThreadWarning(size_t thread_count) { in DeathTestThreadWarning() argument174 if (thread_count == 0) in DeathTestThreadWarning()177 msg << "detected " << thread_count << " threads."; in DeathTestThreadWarning()739 const size_t thread_count = GetThreadCount(); in AssumeRole() local740 if (thread_count != 1) { in AssumeRole()741 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count); in AssumeRole()
82 mach_msg_type_number_t thread_count; in GetThreadCount() local84 const kern_return_t status = task_threads(task, &thread_list, &thread_count); in GetThreadCount()90 sizeof(thread_t) * thread_count); in GetThreadCount()91 return static_cast<size_t>(thread_count); in GetThreadCount()
170 static String DeathTestThreadWarning(size_t thread_count) { in DeathTestThreadWarning() argument174 if (thread_count == 0) in DeathTestThreadWarning()177 msg << "detected " << thread_count << " threads."; in DeathTestThreadWarning()880 const size_t thread_count = GetThreadCount(); in AssumeRole() local881 if (thread_count != 1) { in AssumeRole()882 GTEST_LOG_(WARNING, DeathTestThreadWarning(thread_count)); in AssumeRole()