source: rtems/cpukit/posix/src/prwlock.c @ 8f6b7b51

4.104.115
Last change on this file since 8f6b7b51 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.3 KB
Line 
1/*
2 *  RWLock Manager -- Initialization
3 *
4 *  COPYRIGHT (c) 1989-2008.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#if HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#include <limits.h>
19
20#include <rtems/system.h>
21#include <rtems/config.h>
22#include <rtems/posix/rwlock.h>
23
24/**
25 *  @brief _POSIX_RWLock_Manager_initialization
26 */
27
28void _POSIX_RWLock_Manager_initialization(void)
29{
30  _Objects_Initialize_information(
31    &_POSIX_RWLock_Information,     /* object information table */
32    OBJECTS_POSIX_API,              /* object API */
33    OBJECTS_POSIX_SPINLOCKS,        /* object class */
34    Configuration_POSIX_API.maximum_rwlocks,
35                                    /* maximum objects of this class */
36    sizeof( POSIX_RWLock_Control ), /* size of this object's control block */
37    true,                           /* true if the name is a string */
38    _POSIX_PATH_MAX                 /* maximum length of each object's name */
39#if defined(RTEMS_MULTIPROCESSING)
40    ,
41    false,                         /* true if this is a global object class */
42    NULL                           /* Proxy extraction support callout */
43#endif
44  );
45}
Note: See TracBrowser for help on using the repository browser.