Searched refs:tid2 (Results 1 – 2 of 2) sorted by relevance
/system/media/audio_utils/tests/ |
D | audio_mutex_tests.cpp | 526 std::atomic<pid_t> tid1{}, tid2{}, tid3{}, tid4{}; in TEST_P() local 550 tid2 = android::audio_utils::gettid_wrapper(); in TEST_P() 554 while (tid2 == 0) { usleep(1000); } in TEST_P() 585 EXPECT_EQ(tid2, chain[0].first); in TEST_P() 631 std::atomic<pid_t> tid1{}, tid2{}, tid3{}, tid4{}; in TEST_P() local 660 tid2 = android::audio_utils::gettid_wrapper(); in TEST_P() 664 while (tid2 == 0) { usleep(1000); } in TEST_P() 672 cv2.wait(ul2, [&]{ return quit; }, tid2); in TEST_P() 700 EXPECT_EQ(tid2, chain[0].first); in TEST_P() 749 std::atomic<pid_t> tid1{}, tid2{}, tid3{}, tid4{}; in TEST_P() local [all …]
|
/system/media/audio_utils/include/audio_utils/ |
D | mutex.h | 1030 for (const auto& [ tid2, name ] : chain) { in to_string() 1031 description.append(", ").append(std::to_string(tid2)) in to_string() 1202 for (const auto& [tid2, weak_info] : registry_map) { in deadlock_detection() 1216 mutex_to_tid[mutex_ptr] = pid_order_index_pair_t{tid2, order}; in deadlock_detection() 1228 for (pid_t tid2 = tid; true;) { in deadlock_detection() local 1234 std::tie(tid2, order) = mutex_to_tid[m]; in deadlock_detection() 1237 tid2 = other_wait_tid; in deadlock_detection() 1249 deadlock_info.chain.emplace_back(tid2, in deadlock_detection() 1255 if (visited.count(tid2)) { in deadlock_detection() 1259 visited.insert(tid2); in deadlock_detection() [all …]
|