source: rtems/cpukit/posix/include/rtems/posix/ptimer.h @ b697bc6

4.115
Last change on this file since b697bc6 was b697bc6, checked in by Joel Sherrill <joel.sherrill@…>, on 01/10/13 at 21:06:42

cpukit: Use Consistent Beginning of Doxygen Group Notation

This is the result of a sed script which converts all uses
of @{ into a consistent form.

  • Property mode set to 100644
File size: 2.0 KB
Line 
1/**
2 * @file
3 *
4 * @brief POSIX Timers Private Support
5 *
6 * This include file contains all the private support information for
7 * POSIX timers.
8 */
9
10/*
11 *  Initial Implementation:
12 *    COPYRIGHT (c) 1998.  Alfonso Escalera Piña
13 *  Largely rewritten by Joel Sherrill.
14 *
15 *  The license and distribution terms for this file may be
16 *  found in the file LICENSE in this distribution or at
17 *  http://www.rtems.com/license/LICENSE.
18 *
19 *  ptimer.h,v 1.0 1998/03/31 16:21:16
20 */
21
22#ifndef _RTEMS_POSIX_PTIMER_H
23#define _RTEMS_POSIX_PTIMER_H
24
25/**
26 * @defgroup POSIX_PRIV_TIMERS POSIX Timers
27 *
28 * @ingroup POSIXAPI
29 *
30 */
31/**@{**/
32#ifdef __cplusplus
33extern "C" {
34#endif
35
36#include <rtems/posix/config.h>
37
38/*
39 *  _POSIX_Timers_Manager_initialization
40 *
41 *  DESCRIPTION:
42 *
43 *  This routine performs the initialization necessary for this manager.
44 */
45
46void _POSIX_Timer_Manager_initialization(void);
47
48/*
49 *  @brief Create a Per-Process Timer
50 *
51 *  14.2.2 Create a Per-Process Timer, P1003.1b-1993, p. 264
52 *
53 *  timer_create
54 */
55
56int timer_create(
57  clockid_t        clock_id,
58  struct sigevent *evp,
59  timer_t         *timerid
60);
61
62/*
63 *  14.2.3 Delete a Per_process Timer, P1003.1b-1993, p. 266
64 */
65
66int timer_delete(
67  timer_t timerid
68);
69
70/*
71 *  14.2.4 Per-Process Timers, P1003.1b-1993, p. 267
72 *
73 *  timer_settime
74 */
75
76int timer_settime(
77  timer_t                  timerid,
78  int                      flags,
79  const struct itimerspec *value,
80  struct itimerspec       *ovalue
81);
82
83/*
84 *  14.2.4 Per-Process Timers, P1003.1b-1993, p. 267
85 *
86 *  timer_gettime
87 */
88
89int timer_gettime(
90  timer_t            timerid,
91  struct itimerspec *value
92);
93
94/**
95 * @brief Get overrun count for a POSIX per-process timer.
96 *
97 * The expiration of a timer must increase by one a counter.
98 * After the signal handler associated to the timer finishes
99 * its execution, _POSIX_Timer_TSR will have to set this counter to 0.
100 *
101 * 14.2.4 Per-Process Timers, P1003.1b-1993, p. 267
102 */
103int timer_getoverrun(
104  timer_t   timerid
105);
106
107/** @} */
108
109#endif
Note: See TracBrowser for help on using the repository browser.