source: rtems/cpukit/posix/src/cond.c @ 00760e7

4.104.114.95
Last change on this file since 00760e7 was 00760e7, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/15/08 at 07:39:27

include <limits.h>

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*
2 *  COPYRIGHT (c) 1989-2007.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#if HAVE_CONFIG_H
13#include "config.h"
14#endif
15
16#include <pthread.h>
17#include <errno.h>
18#include <limits.h>
19
20#include <rtems/system.h>
21#include <rtems/score/object.h>
22#include <rtems/score/states.h>
23#include <rtems/score/watchdog.h>
24#include <rtems/posix/cond.h>
25#include <rtems/posix/time.h>
26#include <rtems/posix/mutex.h>
27
28/*PAGE
29 *
30 *  _POSIX_Condition_variables_Manager_initialization
31 *
32 *  This routine initializes all condition variable manager related data
33 *  structures.
34 *
35 *  Input parameters:
36 *    maximum_condition_variables - maximum configured condition_variables
37 *
38 *  Output parameters:  NONE
39 */
40
41void _POSIX_Condition_variables_Manager_initialization(
42  uint32_t   maximum_condition_variables
43)
44{
45  _Objects_Initialize_information(
46    &_POSIX_Condition_variables_Information, /* object information table */
47    OBJECTS_POSIX_API,                       /* object API */
48    OBJECTS_POSIX_CONDITION_VARIABLES,       /* object class */
49    maximum_condition_variables,             /* maximum objects of this class */
50    sizeof( POSIX_Condition_variables_Control ),
51                                /* size of this object's control block */
52    TRUE,                       /* TRUE if names for this object are strings */
53    _POSIX_PATH_MAX             /* maximum length of each object's name */
54#if defined(RTEMS_MULTIPROCESSING)
55    ,
56    FALSE,                      /* TRUE if this is a global object class */
57    NULL                        /* Proxy extraction support callout */
58#endif
59  );
60}
Note: See TracBrowser for help on using the repository browser.