RTEMS  5.0.0
Files | Functions
POSIX Timers

Files

file  psxtimercreate.c
 Create a Per-Process Timer.
 
file  timergetoverrun.c
 Get Overrun Count for a POSIX Per-Process Timer.
 

Functions

int timer_create (clockid_t clock_id, struct sigevent *evp, timer_t *timerid)
 Create a Per-Process Timer.
 
int timer_delete (timer_t timerid)
 Delete a Per-Process Timer.
 
int timer_settime (timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue)
 Set a Per-Process Timer.
 
int timer_gettime (timer_t timerid, struct itimerspec *value)
 Set a Per-Process Timer.
 
int timer_getoverrun (timer_t timerid)
 Get overrun count for a Per-Process Timer. More...
 

Detailed Description

Function Documentation

◆ timer_getoverrun()

int timer_getoverrun ( timer_t  timerid)

Get overrun count for a Per-Process Timer.

The expiration of a timer must increase by one a counter. After the signal handler associated to the timer finishes its execution, _POSIX_Timer_TSR will have to set this counter to 0.