Home | History | Annotate | Download | only in memory_replay

Lines Matching refs:Threads

31 #include "Threads.h"
48 Threads::Threads(Pointers* pointers, size_t max_threads)
56 err(1, "Failed to map in memory for Threads: map size %zu, max threads %zu\n",
68 Threads::~Threads() {
76 Thread* Threads::CreateThread(pid_t tid) {
78 err(1, "Too many threads created, current max %zu.\n", num_threads_);
82 err(1, "No empty entries found, current max %zu, num threads %zu\n",
96 Thread* Threads::FindThread(pid_t tid) {
113 void Threads::WaitForAllToQuiesce() {
114 for (size_t i = 0, threads = 0; threads < num_threads_; i++) {
117 threads++;
123 size_t Threads::GetHashEntry(pid_t tid) {
127 Thread* Threads::FindEmptyEntry(pid_t tid) {
140 void Threads::Finish(Thread* thread) {
151 void Threads::FinishAll() {