2004-10-23 23:49:29 +04:00
|
|
|
/*
|
2004-11-22 04:38:40 +03:00
|
|
|
* 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.
|
2004-11-28 23:09:25 +03:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
2005-03-24 15:43:37 +03:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
2004-10-23 23:49:29 +04:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
#include "ompi_config.h"
|
|
|
|
#include "ptl_mx.h"
|
|
|
|
#include "ptl_mx_peer.h"
|
|
|
|
|
|
|
|
static void mca_ptl_mx_peer_construct(mca_ptl_base_peer_t* ptl_peer);
|
|
|
|
static void mca_ptl_mx_peer_destruct(mca_ptl_base_peer_t* ptl_peer);
|
|
|
|
|
|
|
|
OBJ_CLASS_INSTANCE(
|
|
|
|
mca_ptl_mx_peer_t,
|
2005-07-03 20:22:16 +04:00
|
|
|
opal_list_item_t,
|
2004-10-23 23:49:29 +04:00
|
|
|
mca_ptl_mx_peer_construct,
|
|
|
|
mca_ptl_mx_peer_destruct);
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Initialize state of the peer instance.
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void mca_ptl_mx_peer_construct(mca_ptl_base_peer_t* ptl_peer)
|
|
|
|
{
|
2004-10-25 17:33:30 +04:00
|
|
|
ptl_peer->peer_ptl = NULL;
|
2004-11-18 01:47:08 +03:00
|
|
|
ptl_peer->peer_nbo = false;
|
2004-10-23 23:49:29 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Cleanup any resources held by the peer.
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void mca_ptl_mx_peer_destruct(mca_ptl_base_peer_t* ptl_peer)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|