uasync: fix stall detection — record timestamp after poll wait, not before

This commit is contained in:
Evgeny committed 2026-07-27 19:42:35 +03:00
1 parent 48bfe644c4
commit a47ef86810
2 files changed
+10 -6

No files matched your search

+1 -1
View File
@@ -75,7 +75,7 @@ struct UASYNC {
pthread_mutex_t posted_lock;
#endif
volatile sig_atomic_t stop;
uint64_t last_poll_entry_us;
uint64_t last_poll_exit_us;
};
// Type definitions