Lines Matching refs:suspended_threads
367 static void ProcessThreads(SuspendedThreadsList const &suspended_threads, in ProcessThreads() argument
370 for (uptr i = 0; i < suspended_threads.ThreadCount(); i++) { in ProcessThreads()
371 tid_t os_id = static_cast<tid_t>(suspended_threads.GetThreadID(i)); in ProcessThreads()
386 suspended_threads.GetRegistersAndSP(i, ®isters, &sp); in ProcessThreads()
574 static void ClassifyAllChunks(SuspendedThreadsList const &suspended_threads, in ClassifyAllChunks() argument
584 ProcessThreads(suspended_threads, frontier); in ClassifyAllChunks()
641 const InternalMmapVector<tid_t> &suspended_threads = in ReportIfNotSuspended() local
644 uptr i = InternalLowerBound(suspended_threads, tctx->os_id); in ReportIfNotSuspended()
645 if (i >= suspended_threads.size() || suspended_threads[i] != tctx->os_id) in ReportIfNotSuspended()
661 const SuspendedThreadsList &suspended_threads) { in ReportUnsuspendedThreads() argument
662 InternalMmapVector<tid_t> threads(suspended_threads.ThreadCount()); in ReportUnsuspendedThreads()
663 for (uptr i = 0; i < suspended_threads.ThreadCount(); ++i) in ReportUnsuspendedThreads()
664 threads[i] = suspended_threads.GetThreadID(i); in ReportUnsuspendedThreads()
674 static void CheckForLeaksCallback(const SuspendedThreadsList &suspended_threads, in CheckForLeaksCallback() argument
679 ReportUnsuspendedThreads(suspended_threads); in CheckForLeaksCallback()
680 ClassifyAllChunks(suspended_threads, ¶m->frontier); in CheckForLeaksCallback()