Home | History | Annotate | Download | only in libbacktrace

Lines Matching refs:threads

47 #include <cutils/threads.h>
64 // Number of simultaneous threads running in our forked process.
406 // Create a process with multiple threads and dump all of the threads.
412 void GetThreads(pid_t pid, std::vector<pid_t>* threads) {
424 threads->push_back(tid);
445 // Check to see that all of the threads are running before unwinding.
446 std::vector<pid_t> threads;
450 threads.clear();
451 GetThreads(pid, &threads);
452 } while ((threads.size() != NUM_PTRACE_THREADS + 1) &&
454 ASSERT_EQ(threads.size(), static_cast<size_t>(NUM_PTRACE_THREADS + 1));
458 for (std::vector<int>::const_iterator it = threads.begin(); it != threads.end(); ++it) {
459 // Skip the current forked process, we only care about the threads.