Searched refs:thread_count (Results 1 – 1 of 1) sorted by relevance
6711 static std::string DeathTestThreadWarning(size_t thread_count) { in DeathTestThreadWarning() argument6715 if (thread_count == 0) in DeathTestThreadWarning()6718 msg << "detected " << thread_count << " threads."; in DeathTestThreadWarning()7317 const size_t thread_count = GetThreadCount(); in AssumeRole() local7318 if (thread_count != 1) { in AssumeRole()7319 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count); in AssumeRole()8301 mach_msg_type_number_t thread_count; in GetThreadCount() local8303 const kern_return_t status = task_threads(task, &thread_list, &thread_count); in GetThreadCount()8309 sizeof(thread_t) * thread_count); in GetThreadCount()8310 return static_cast<size_t>(thread_count); in GetThreadCount()