Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

respect it_value #2560

Closed
wants to merge 1 commit into from
Closed

Conversation

hckuo
Copy link

@hckuo hckuo commented Jan 6, 2025

This PR fixes #2559 by respecting it_values in a itimer.

@avagin
Copy link
Member

avagin commented Jan 7, 2025

pls write a proper commit message and introduce a new test in test/zdtm/static.

- Modify itimer_armed macro in restorer.c to consider it_value
- Simplify decode_itimer function in timer.c to use provided it_value
- Remove conditional logic that set it_value to interval
@hckuo hckuo closed this Jan 7, 2025
@hckuo hckuo force-pushed the one-shot-itimer-fix branch from c0d051c to 5d05006 Compare January 7, 2025 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

One-shot itimer is ignored.
2 participants