2006-03-29 20:19:17 +04: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.
|
|
|
|
* 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 "pml_dr.h"
|
|
|
|
#include "pml_dr_endpoint.h"
|
2006-05-20 06:39:05 +04:00
|
|
|
#include "orte/mca/ns/ns.h"
|
2006-03-29 20:19:17 +04:00
|
|
|
|
2006-05-04 20:16:26 +04:00
|
|
|
|
|
|
|
|
2006-03-29 20:19:17 +04:00
|
|
|
static void mca_pml_dr_endpoint_construct(mca_pml_dr_endpoint_t* ep)
|
|
|
|
{
|
|
|
|
OBJ_CONSTRUCT(&ep->seq_sends, ompi_seq_tracker_t);
|
|
|
|
OBJ_CONSTRUCT(&ep->seq_recvs, ompi_seq_tracker_t);
|
|
|
|
OBJ_CONSTRUCT(&ep->seq_recvs_matched, ompi_seq_tracker_t);
|
2006-03-30 02:21:35 +04:00
|
|
|
ep->vfrag_seq = 0;
|
2006-07-04 05:20:20 +04:00
|
|
|
ep->bml_endpoint = NULL;
|
2006-03-29 20:19:17 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static void mca_pml_dr_endpoint_destruct(mca_pml_dr_endpoint_t* ep)
|
|
|
|
{
|
|
|
|
OBJ_DESTRUCT(&ep->seq_sends);
|
|
|
|
OBJ_DESTRUCT(&ep->seq_recvs);
|
|
|
|
OBJ_DESTRUCT(&ep->seq_recvs_matched);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
OBJ_CLASS_INSTANCE(
|
|
|
|
mca_pml_dr_endpoint_t,
|
2006-07-04 05:20:20 +04:00
|
|
|
opal_object_t,
|
2006-03-29 20:19:17 +04:00
|
|
|
mca_pml_dr_endpoint_construct,
|
|
|
|
mca_pml_dr_endpoint_destruct);
|