RTEMS CPU Kit with SuperCore  4.11.3
ptimer.h
Go to the documentation of this file.
1 
10 /*
11  * Initial Implementation:
12  * COPYRIGHT (c) 1998. Alfonso Escalera PiƱa
13  * Largely rewritten by Joel Sherrill (1999).
14  *
15  * COPYRIGHT (c) 1999-2013.
16  * On-Line Applications Research Corporation (OAR).
17  *
18  * The license and distribution terms for this file may be
19  * found in the file LICENSE in this distribution or at
20  * http://www.rtems.org/license/LICENSE.
21  */
22 
23 #ifndef _RTEMS_POSIX_PTIMER_H
24 #define _RTEMS_POSIX_PTIMER_H
25 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 #include <rtems/posix/config.h>
37 
44 
48 int timer_create(
49  clockid_t clock_id,
50  struct sigevent *evp,
51  timer_t *timerid
52 );
53 
57 int timer_delete(
58  timer_t timerid
59 );
60 
64 int timer_settime(
65  timer_t timerid,
66  int flags,
67  const struct itimerspec *value,
68  struct itimerspec *ovalue
69 );
70 
74 int timer_gettime(
75  timer_t timerid,
76  struct itimerspec *value
77 );
78 
87  timer_t timerid
88 );
89 
90 #ifdef __cplusplus
91 }
92 #endif
93 
95 #endif /* _RTEMS_POSIX_PTIMER_H */
int timer_gettime(timer_t timerid, struct itimerspec *value)
Set a Per-Process Timer.
Definition: timergettime.c:38
User Defined Configuration Parameters Specific For The POSIX API.
int timer_create(clockid_t clock_id, struct sigevent *evp, timer_t *timerid)
Create 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_delete(timer_t timerid)
Delete a Per-Process Timer.
Definition: timerdelete.c:35
int timer_getoverrun(timer_t timerid)
Get overrun count for a Per-Process Timer.
Definition: timergetoverrun.c:29
void _POSIX_Timer_Manager_initialization(void)
POSIX Timer Manager Initialization.
Definition: ptimer.c:57