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

posix: implement timer_getoverrun() #59956

Closed
Tracked by #51211
ycsin opened this issue Jul 3, 2023 · 0 comments · Fixed by #60171
Closed
Tracked by #51211

posix: implement timer_getoverrun() #59956

ycsin opened this issue Jul 3, 2023 · 0 comments · Fixed by #60171
Labels
area: POSIX POSIX API Library Feature Request A request for a new feature Good first issue Good for a first time contributor to take
Milestone

Comments

@ycsin
Copy link
Member

ycsin commented Jul 3, 2023

There are currently 20 missing POSIX functions with trivial implementations, timer_getoverrun() is one of them.

timer_getoverrun, timer_gettime, timer_settime - per-process timers

The timer_gettime() function shall store the amount of time until the specified timer, timerid, expires and the reload value of the timer into the space pointed to by the value argument. The it_value member of this structure shall contain the amount of time before the timer expires, or zero if the timer is disarmed. This value is returned as the interval until timer expiration, even if the timer was armed with absolute time. The it_interval member of value shall contain the reload value last set by timer_settime().
...

See https://pubs.opengroup.org/onlinepubs/9699919799/functions/timer_getoverrun.html

See RFC #51211 for more info.

@ycsin ycsin added Feature Request A request for a new feature Good first issue Good for a first time contributor to take area: POSIX POSIX API Library labels Jul 3, 2023
@ycsin ycsin moved this from To Do to LTS3 Goals in Release Plan Jul 3, 2023
@ycsin ycsin added this to the v3.5.0 milestone Jul 3, 2023
@cfriedt cfriedt assigned cfriedt and unassigned cfriedt Jul 4, 2023
harshilbhatt2001 added a commit to harshilbhatt2001/zephyr that referenced this issue Jul 7, 2023
Address missing POSIX function and tests zephyrproject-rtos#59956

Signed-off-by: Harshil Bhatt <harshilbhatt2001@gmail.com>
harshilbhatt2001 added a commit to harshilbhatt2001/zephyr that referenced this issue Jul 7, 2023
Address missing POSIX function and tests zephyrproject-rtos#59956

Signed-off-by: Harshil Bhatt <harshilbhatt2001@gmail.com>
harshilbhatt2001 added a commit to harshilbhatt2001/zephyr that referenced this issue Jul 9, 2023
Address missing POSIX function and tests zephyrproject-rtos#59956

Signed-off-by: Harshil Bhatt <harshilbhatt2001@gmail.com>
carlescufi pushed a commit that referenced this issue Jul 10, 2023
Address missing POSIX function and tests #59956

Signed-off-by: Harshil Bhatt <harshilbhatt2001@gmail.com>
@cfriedt cfriedt removed the status in Release Plan Sep 12, 2023
@nashif nashif removed this from Release Plan Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: POSIX POSIX API Library Feature Request A request for a new feature Good first issue Good for a first time contributor to take
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants