Home
last modified time | relevance | path

Searched refs:pack_thread_fd (Results 1 – 1 of 1) sorted by relevance

/aosp12/system/core/debuggerd/handler/
H A Ddebuggerd_fallback.cpp184 static uint64_t pack_thread_fd(pid_t tid, int fd) { in pack_thread_fd() function
199 static std::atomic<uint64_t> trace_output(pack_thread_fd(-1, -1)); in trace_handler()
212 if (!trace_output.compare_exchange_strong(val, pack_thread_fd(-1, -1))) { in trace_handler()
265 uint64_t expected = pack_thread_fd(-1, -1); in trace_handler()
267 if (!trace_output.compare_exchange_strong(expected, pack_thread_fd(tid, sent_fd))) { in trace_handler()
294 uint64_t post_wait = trace_output.exchange(pack_thread_fd(-1, -1)); in trace_handler()
295 if (post_wait != pack_thread_fd(-1, -1)) { in trace_handler()