source: rtems/cpukit/posix/src/pbarrier.c @ 7bb33391

4.115
Last change on this file since 7bb33391 was 7bb33391, checked in by Joel Sherrill <joel.sherrill@…>, on 12/09/13 at 18:52:43

pbarrier.c: Comment clean up

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