Prevent re-entry into timerfd set_nearest

This commit is contained in:
Vitaliy Filippov
2023-12-22 02:32:40 +03:00
parent 4ece4dfdd0
commit 178bb0e701
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -22,6 +22,7 @@ class timerfd_manager_t
int timerfd;
int nearest = -1;
int id = 1;
int onstack = 0;
std::vector<timerfd_timer_t> timers;
void inc_timer(timerfd_timer_t & t);