source: rtems/cpukit/posix/src/pbarrier.c @ 3bacb250

4.104.115
Last change on this file since 3bacb250 was b1dbfd7, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/03/09 at 10:10:57

Eliminate TRUE/FALSE.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/*
2 *  Barrier Manager
3 *
4 *  DESCRIPTION:
5 *
6 *  This package is the implementation of the Barrier Manager.
7 *
8 *  Directives provided are:
9 *
10 *     + create a barrier
11 *     + get an ID of a barrier
12 *     + delete a barrier
13 *     + acquire a barrier
14 *     + release a barrier
15 *
16 *  COPYRIGHT (c) 1989-2008.
17 *  On-Line Applications Research Corporation (OAR).
18 *
19 *  The license and distribution terms for this file may be
20 *  found in the file LICENSE in this distribution or at
21 *  http://www.rtems.com/license/LICENSE.
22 *
23 *  $Id$
24 */
25
26#if HAVE_CONFIG_H
27#include "config.h"
28#endif
29
30#include <limits.h>
31
32#include <rtems/system.h>
33#include <rtems/config.h>
34#include <rtems/posix/barrier.h>
35
36/**
37 *  @brief _POSIX_Barrier_Manager_initialization
38 */
39
40void _POSIX_Barrier_Manager_initialization(void)
41{
42  _Objects_Initialize_information(
43    &_POSIX_Barrier_Information,    /* object information table */
44    OBJECTS_POSIX_API,              /* object API */
45    OBJECTS_POSIX_BARRIERS,         /* object class */
46    Configuration_POSIX_API.maximum_barriers,
47                                    /* maximum objects of this class */
48    sizeof( POSIX_Barrier_Control ),/* size of this object's control block */
49    true,                           /* true if the name is a string */
50    _POSIX_PATH_MAX                 /* maximum length of each object's name */
51#if defined(RTEMS_MULTIPROCESSING)
52    ,
53    false,                         /* true if this is a global object class */
54    NULL                           /* Proxy extraction support callout */
55#endif
56  );
57}
Note: See TracBrowser for help on using the repository browser.