2004-03-03 16:10:26 +00:00
|
|
|
/*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
2004-08-18 23:24:27 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "ompi_config.h"
|
|
|
|
#endif
|
|
|
|
|
2004-03-03 16:10:26 +00:00
|
|
|
#include "mutex.h"
|
|
|
|
#include "condition.h"
|
|
|
|
|
2004-06-07 15:33:53 +00:00
|
|
|
#if (OMPI_HAVE_THREADS == 0)
|
2004-03-03 16:10:26 +00:00
|
|
|
|
2004-08-18 23:24:27 +00:00
|
|
|
|
|
|
|
static void ompi_condition_construct(ompi_condition_t * c)
|
2004-03-03 16:10:26 +00:00
|
|
|
{
|
2004-04-06 16:13:17 +00:00
|
|
|
c->c_waiting = 0;
|
|
|
|
c->c_signaled = 0;
|
2004-03-03 16:10:26 +00:00
|
|
|
}
|
2004-08-18 23:24:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
static void ompi_condition_destruct(ompi_condition_t * c)
|
2004-03-03 16:10:26 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2004-08-18 23:24:27 +00:00
|
|
|
OBJ_CLASS_INSTANCE(ompi_condition_t,
|
|
|
|
ompi_object_t,
|
|
|
|
ompi_condition_construct,
|
|
|
|
ompi_condition_destruct);
|
|
|
|
|
|
|
|
#endif
|