source: rtems/cpukit/posix/src/pbarrier.c @ a0e6c73

4.115
Last change on this file since a0e6c73 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • 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
24#if HAVE_CONFIG_H
25#include "config.h"
26#endif
27
28#include <limits.h>
29
30#include <rtems/system.h>
31#include <rtems/config.h>
32#include <rtems/posix/barrier.h>
33
34/**
35 *  @brief _POSIX_Barrier_Manager_initialization
36 */
37
38void _POSIX_Barrier_Manager_initialization(void)
39{
40  _Objects_Initialize_information(
41    &_POSIX_Barrier_Information,    /* object information table */
42    OBJECTS_POSIX_API,              /* object API */
43    OBJECTS_POSIX_BARRIERS,         /* object class */
44    Configuration_POSIX_API.maximum_barriers,
45                                    /* maximum objects of this class */
46    sizeof( POSIX_Barrier_Control ),/* size of this object's control block */
47    true,                           /* true if the name is a string */
48    _POSIX_PATH_MAX                 /* maximum length of each object's name */
49#if defined(RTEMS_MULTIPROCESSING)
50    ,
51    false,                         /* true if this is a global object class */
52    NULL                           /* Proxy extraction support callout */
53#endif
54  );
55}
Note: See TracBrowser for help on using the repository browser.