| 40 | } |
| 41 | |
| 42 | result<std::pair<uintptr_t, uintptr_t>> get_thread_ids(async_lock& lock, std::shared_ptr<worker_thread_executor> executor) { |
| 43 | const auto before_id = concurrencpp::details::thread::get_current_virtual_id(); |
| 44 | auto lock_guard = co_await lock.lock(executor); |
| 45 | const auto after_id = concurrencpp::details::thread::get_current_virtual_id(); |
| 46 | co_return std::make_pair(before_id, after_id); |
| 47 | } |
| 48 | } // namespace concurrencpp::tests |
| 49 | |
| 50 | void concurrencpp::tests::test_async_lock_lock_null_resume_executor() { |
no test coverage detected