root/opal/threads/condition.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. opal_condition_construct
  2. opal_condition_destruct

   1 /*
   2  * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
   3  *                         University Research and Technology
   4  *                         Corporation.  All rights reserved.
   5  * Copyright (c) 2004-2005 The University of Tennessee and The University
   6  *                         of Tennessee Research Foundation.  All rights
   7  *                         reserved.
   8  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
   9  *                         University of Stuttgart.  All rights reserved.
  10  * Copyright (c) 2004-2005 The Regents of the University of California.
  11  *                         All rights reserved.
  12  * $COPYRIGHT$
  13  *
  14  * Additional copyrights may follow
  15  *
  16  * $HEADER$
  17  */
  18 
  19 #include "opal_config.h"
  20 
  21 #include "opal/threads/condition.h"
  22 
  23 
  24 static void opal_condition_construct(opal_condition_t *c)
  25 {
  26     c->c_waiting = 0;
  27     c->c_signaled = 0;
  28 }
  29 
  30 
  31 static void opal_condition_destruct(opal_condition_t *c)
  32 {
  33 }
  34 
  35 OBJ_CLASS_INSTANCE(opal_condition_t,
  36                    opal_object_t,
  37                    opal_condition_construct,
  38                    opal_condition_destruct);

/* [<][>][^][v][top][bottom][index][help] */