Lines Matching defs:threads
51 #include <cutils/threads.h>
69 // Number of simultaneous threads running in our forked process.
463 // Create a process with multiple threads and dump all of the threads.
469 static void GetThreads(pid_t pid, std::vector<pid_t>* threads) {
481 threads->push_back(tid);
501 // Check to see that all of the threads are running before unwinding.
502 std::vector<pid_t> threads;
506 threads.clear();
507 GetThreads(pid, &threads);
508 } while ((threads.size() != NUM_PTRACE_THREADS + 1) &&
510 ASSERT_EQ(threads.size(), static_cast<size_t>(NUM_PTRACE_THREADS + 1));
514 for (std::vector<int>::const_iterator it = threads.begin(); it != threads.end(); ++it) {
515 // Skip the current forked process, we only care about the threads.