Searched refs:tid2 (Results 1 – 2 of 2) sorted by relevance
| /system/media/audio_utils/tests/ |
| D | audio_mutex_tests.cpp | 592 std::atomic<pid_t> tid1{}, tid2{}, tid3{}, tid4{}; in TEST_P() local 616 tid2 = android::audio_utils::gettid_wrapper(); in TEST_P() 620 while (tid2 == 0) { usleep(1000); } in TEST_P() 651 EXPECT_EQ(tid2, chain[0].first); in TEST_P() 697 std::atomic<pid_t> tid1{}, tid2{}, tid3{}, tid4{}; in TEST_P() local 726 tid2 = android::audio_utils::gettid_wrapper(); in TEST_P() 730 while (tid2 == 0) { usleep(1000); } in TEST_P() 738 cv2.wait(ul2, [&]{ return quit; }, tid2); in TEST_P() 766 EXPECT_EQ(tid2, chain[0].first); in TEST_P() 815 std::atomic<pid_t> tid1{}, tid2{}, tid3{}, tid4{}; in TEST_P() local [all …]
|
| /system/media/audio_utils/include/audio_utils/ |
| D | mutex.h | 1055 for (const auto& [ tid2, name ] : chain) { in to_string() 1056 description.append(", ").append(std::to_string(tid2)) in to_string() 1227 for (const auto& [tid2, weak_info] : registry_map) { in deadlock_detection() 1241 mutex_to_tid[mutex_ptr] = pid_order_index_pair_t{tid2, order}; in deadlock_detection() 1253 for (pid_t tid2 = tid; true;) { in deadlock_detection() local 1259 std::tie(tid2, order) = mutex_to_tid[m]; in deadlock_detection() 1262 tid2 = other_wait_tid; in deadlock_detection() 1274 deadlock_info.chain.emplace_back(tid2, in deadlock_detection() 1281 if (visited.count(tid2)) { in deadlock_detection() 1285 visited.insert(tid2); in deadlock_detection() [all …]
|