sanitizer_thread_registry_test.cc | 33 static void CheckThreadQuantity(ThreadRegistry *registry, uptr exp_total, 36 registry->GetNumberOfThreads(&total, &running, &alive); 65 static void TestRegistry(ThreadRegistry *registry, bool has_quarantine) { 67 EXPECT_EQ(0U, registry->CreateThread(get_uid(0), true, -1, 0)); 68 registry->StartThread(0, 0, 0); 71 EXPECT_EQ(i, registry->CreateThread(get_uid(i), is_detached(i), 0, 0)); 73 CheckThreadQuantity(registry, 11, 1, 11); 76 registry->StartThread(i, 0, 0); 78 CheckThreadQuantity(registry, 11, 6, 11); 81 registry->FinishThread(i) 160 ThreadRegistry *registry; member in struct:__sanitizer::__anon19136::RunThreadArgs [all...] |