1
1
openmpi/src/threads/condition_spinlock.c
Prabhanjan Kambadur 4db2f4cf6f making some minor changes which will make it compile on windows
This commit was SVN r4135.
2005-01-25 20:01:06 +00:00

40 строки
913 B
C

/*
* Copyright (c) 2004-2005 The Trustees of Indiana University.
* All rights reserved.
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
* All rights reserved.
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
* University of Stuttgart. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "ompi_config.h"
#include "threads/mutex.h"
#include "threads/condition.h"
#if (OMPI_HAVE_THREADS == 0)
static void ompi_condition_construct(ompi_condition_t *c)
{
c->c_waiting = 0;
c->c_signaled = 0;
}
static void ompi_condition_destruct(ompi_condition_t *c)
{
}
OBJ_CLASS_INSTANCE(ompi_condition_t,
ompi_object_t,
ompi_condition_construct,
ompi_condition_destruct);
#endif