2005-07-27 23:46:36 +04:00
|
|
|
/*
|
2005-11-05 22:57:48 +03:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2005-07-27 23:46:36 +04:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include "ompi_config.h"
|
|
|
|
#include <sys/time.h>
|
|
|
|
#include <time.h>
|
2006-02-12 04:33:29 +03:00
|
|
|
#include "ompi/types.h"
|
2006-02-07 18:20:44 +03:00
|
|
|
#include "orte/mca/ns/base/base.h"
|
|
|
|
#include "orte/mca/oob/base/base.h"
|
|
|
|
#include "orte/mca/rml/rml.h"
|
|
|
|
#include "orte/mca/errmgr/errmgr.h"
|
2005-07-28 23:53:27 +04:00
|
|
|
#include "btl_mx.h"
|
|
|
|
#include "btl_mx_endpoint.h"
|
|
|
|
#include "btl_mx_proc.h"
|
|
|
|
#include "btl_mx_frag.h"
|
2005-07-27 23:46:36 +04:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Initialize state of the endpoint instance.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2005-07-28 23:53:27 +04:00
|
|
|
static void mca_btl_mx_endpoint_construct(mca_btl_base_endpoint_t* endpoint)
|
2005-07-27 23:46:36 +04:00
|
|
|
{
|
2005-09-05 02:08:13 +04:00
|
|
|
endpoint->endpoint_btl = NULL;
|
|
|
|
endpoint->endpoint_proc = NULL;
|
2005-07-27 23:46:36 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Destroy a endpoint
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2005-07-28 23:53:27 +04:00
|
|
|
static void mca_btl_mx_endpoint_destruct(mca_btl_base_endpoint_t* endpoint)
|
2005-07-27 23:46:36 +04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
OBJ_CLASS_INSTANCE(
|
2005-07-28 23:53:27 +04:00
|
|
|
mca_btl_mx_endpoint_t,
|
2005-07-27 23:46:36 +04:00
|
|
|
opal_list_item_t,
|
2005-07-28 23:53:27 +04:00
|
|
|
mca_btl_mx_endpoint_construct,
|
|
|
|
mca_btl_mx_endpoint_destruct);
|
2005-07-27 23:46:36 +04:00
|
|
|
|