Skip to content

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

Merged
andywolk merged 1 commit into
masterfrom
dmitry/fix_timer_check
Aug 21, 2026
Merged

[core] Fix _timerfd_check using wrong syscall to detect timer expiration. Add unit-tests.#3129
andywolk merged 1 commit into
masterfrom
dmitry/fix_timer_check

Conversation

@morbit85

Copy link
Copy Markdown
Collaborator

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.

…ion. Add unit-tests.

`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.
@morbit85
morbit85 requested a review from andywolk August 21, 2026 13:42
@morbit85 morbit85 added the bug Something isn't working label Aug 21, 2026
@andywolk
andywolk merged commit cc93a68 into master Aug 21, 2026
17 checks passed
@andywolk
andywolk deleted the dmitry/fix_timer_check branch August 21, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants