Searched refs:thread_count (Results 1 – 2 of 2) sorted by relevance
91 mach_msg_type_number_t thread_count; in GetThreadCount() local93 const kern_return_t status = task_threads(task, &thread_list, &thread_count); in GetThreadCount()99 sizeof(thread_t) * thread_count); in GetThreadCount()100 return static_cast<size_t>(thread_count); in GetThreadCount()
217 static std::string DeathTestThreadWarning(size_t thread_count) { in DeathTestThreadWarning() argument221 if (thread_count == 0) in DeathTestThreadWarning()224 msg << "detected " << thread_count << " threads."; in DeathTestThreadWarning()823 const size_t thread_count = GetThreadCount(); in AssumeRole() local824 if (thread_count != 1) { in AssumeRole()825 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count); in AssumeRole()