source: rtems/cpukit/posix/src/cond.c @ 92f4671

4.104.115
Last change on this file since 92f4671 was 309e2f6, checked in by Joel Sherrill <joel.sherrill@…>, on 12/17/08 at 21:23:37

2008-12-17 Joel Sherrill <joel.sherrill@…>

  • posix/include/rtems/posix/barrier.h, posix/include/rtems/posix/cond.h, posix/include/rtems/posix/key.h, posix/include/rtems/posix/mqueue.h, posix/include/rtems/posix/mutex.h, posix/include/rtems/posix/psignal.h, posix/include/rtems/posix/pthread.h, posix/include/rtems/posix/ptimer.h, posix/include/rtems/posix/rwlock.h, posix/include/rtems/posix/semaphore.h, posix/include/rtems/posix/spinlock.h, posix/include/rtems/posix/timer.h, posix/src/cond.c, posix/src/key.c, posix/src/mqueue.c, posix/src/mutex.c, posix/src/pbarrier.c, posix/src/prwlock.c, posix/src/psignal.c, posix/src/pspin.c, posix/src/pthread.c, posix/src/pthreadinitthreads.c, posix/src/ptimer.c, posix/src/semaphore.c, sapi/src/posixapi.c: Convert POSIX manager initialization routines to directly pull parameters from configuration table.
  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*
2 *  COPYRIGHT (c) 1989-2008.
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/config.h>
22#include <rtems/score/object.h>
23#include <rtems/score/states.h>
24#include <rtems/score/watchdog.h>
25#include <rtems/posix/cond.h>
26#include <rtems/posix/time.h>
27#include <rtems/posix/mutex.h>
28
29/*PAGE
30 *
31 *  _POSIX_Condition_variables_Manager_initialization
32 *
33 *  This routine initializes all condition variable manager related data
34 *  structures.
35 *
36 *  Input parameters:   NONE
37 *
38 *  Output parameters:  NONE
39 */
40
41void _POSIX_Condition_variables_Manager_initialization(void)
42{
43  _Objects_Initialize_information(
44    &_POSIX_Condition_variables_Information, /* object information table */
45    OBJECTS_POSIX_API,                       /* object API */
46    OBJECTS_POSIX_CONDITION_VARIABLES,       /* object class */
47    Configuration_POSIX_API.maximum_condition_variables,
48                                /* maximum objects of this class */
49    sizeof( POSIX_Condition_variables_Control ),
50                                /* size of this object's control block */
51    TRUE,                       /* TRUE if names for this object are strings */
52    _POSIX_PATH_MAX             /* maximum length of each object's name */
53#if defined(RTEMS_MULTIPROCESSING)
54    ,
55    FALSE,                      /* TRUE if this is a global object class */
56    NULL                        /* Proxy extraction support callout */
57#endif
58  );
59}
Note: See TracBrowser for help on using the repository browser.