2005-06-28 01:21:15 +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-06-28 01:21:15 +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"
|
2008-02-28 04:57:57 +03:00
|
|
|
#include "opal/dss/dss.h"
|
2005-06-30 09:50:55 +04:00
|
|
|
#include "btl_template.h"
|
|
|
|
#include "btl_template_endpoint.h"
|
|
|
|
#include "btl_template_proc.h"
|
|
|
|
#include "btl_template_frag.h"
|
2005-06-28 01:21:15 +04:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Initialize state of the endpoint instance.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2005-06-30 09:50:55 +04:00
|
|
|
static void mca_btl_template_endpoint_construct(mca_btl_base_endpoint_t* endpoint)
|
2005-06-28 01:21:15 +04:00
|
|
|
{
|
2005-06-30 09:50:55 +04:00
|
|
|
endpoint->endpoint_btl = 0;
|
2005-06-28 01:21:15 +04:00
|
|
|
endpoint->endpoint_proc = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Destroy a endpoint
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2005-06-30 09:50:55 +04:00
|
|
|
static void mca_btl_template_endpoint_destruct(mca_btl_base_endpoint_t* endpoint)
|
2005-06-28 01:21:15 +04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
OBJ_CLASS_INSTANCE(
|
2005-06-30 09:50:55 +04:00
|
|
|
mca_btl_template_endpoint_t,
|
2005-07-03 20:22:16 +04:00
|
|
|
opal_list_item_t,
|
2005-06-30 09:50:55 +04:00
|
|
|
mca_btl_template_endpoint_construct,
|
|
|
|
mca_btl_template_endpoint_destruct);
|
2005-06-28 01:21:15 +04:00
|
|
|
|