source: rtems/cpukit/posix/src/ptimer.c @ 0243b0d

4.104.114.84.9
Last change on this file since 0243b0d was 0243b0d, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 8, 2006 at 8:47:48 PM

2006-06-08 Joel Sherrill <joel@…>

  • posix/Makefile.am, posix/preinstall.am, posix/include/rtems/posix/timer.h, posix/src/ptimer.c, posix/src/ptimer1.c, sapi/src/posixapi.c, score/include/rtems/score/object.h:
  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*
2 *  ptimer.c,v 1.1 1996/06/03 16:29:58 joel Exp
3 */
4
5#if HAVE_CONFIG_H
6#include "config.h"
7#endif
8
9#include <assert.h>
10#include <time.h>
11#include <errno.h>
12
13#include <rtems/system.h>
14#include <rtems/score/isr.h>
15#include <rtems/score/thread.h>
16#include <rtems/score/tod.h>
17
18#include <rtems/posix/time.h>
19
20/************************************/
21/* These includes are now necessary */
22/************************************/
23
24#include <unistd.h>
25#include <rtems/rtems/status.h>
26#include <rtems/rtems/types.h>
27#include <rtems/rtems/timer.h>
28#include <rtems/rtems/clock.h>
29#include <rtems/posix/psignal.h>
30#include <rtems/score/wkspace.h>
31#include <pthread.h>
32#include <stdio.h>
33#include <signal.h>
34
35#include <rtems/posix/timer.h>
36
37/*
38 * _POSIX_Timer_Manager_initialization
39 *
40 *  Description: Initialize the internal structure in which the data of all
41 *               the timers are stored
42 */
43
44void _POSIX_Timer_Manager_initialization ( int maximum_timers )
45{
46  _Objects_Initialize_information(
47    &_POSIX_Timer_Information,  /* object information table */
48    OBJECTS_POSIX_API,          /* object API */
49    OBJECTS_POSIX_TIMERS,       /* object class */
50    maximum_timers,             /* maximum objects of this class */
51    sizeof( POSIX_Timer_Control ),
52                                /* size of this object's control block */
53    FALSE,                      /* TRUE if names for this object are strings */
54    _POSIX_PATH_MAX             /* maximum length of each object's name */
55#if defined(RTEMS_MULTIPROCESSING)
56    ,
57    FALSE,                      /* TRUE if this is a global object class */
58    NULL                        /* Proxy extraction support callout */
59#endif
60  );
61}
Note: See TracBrowser for help on using the repository browser.