RTEMS CPU Kit with SuperCore  4.11.2
Files | Functions
POSIX Timers
Collaboration diagram for POSIX Timers:

Files

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

Functions

void _POSIX_Timer_Manager_initialization (void)
 POSIX Timer Manager Initialization. More...
 
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

◆ _POSIX_Timer_Manager_initialization()

void _POSIX_Timer_Manager_initialization ( void  )

POSIX Timer Manager Initialization.

This routine performs the initialization necessary for this manager.

◆ 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.

References _POSIX_Timer_Get().