[core] Fix _timerfd_check using wrong syscall to detect timer expiration. Add unit-tests. (#3129)

`timerfd_gettime()` returns the time remaining until the next periodic tick,
regardless of how many previous ticks have already fired and remain unread.
Replace with `poll()` which correctly checks for pending unread expirations.
This commit is contained in:
Dmitry Verenitsin
2026-08-21 17:10:14 +03:00
committed by GitHub
parent 80ad6b3206
commit cc93a683ca
4 changed files with 129 additions and 10 deletions
+1
View File
@@ -36,6 +36,7 @@ switch_ulp_recover1
switch_ulp_recover2
switch_ulp_recover3
switch_ulp_recover4
switch_timer
switch_utils
switch_vad
switch_vpx