2004-10-23 19:49:29 +00:00
|
|
|
/*
|
2004-11-22 01:38:40 +00: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 20:09:25 +00:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
2005-03-24 12:43:37 +00:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2004-11-22 01:38:40 +00:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
2004-10-23 19:49:29 +00: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 16:22:16 +00:00
|
|
|
opal_list_item_t,
|
2004-10-23 19:49:29 +00: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 13:33:30 +00:00
|
|
|
ptl_peer->peer_ptl = NULL;
|
2004-11-17 22:47:08 +00:00
|
|
|
ptl_peer->peer_nbo = false;
|
2004-10-23 19:49:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Cleanup any resources held by the peer.
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void mca_ptl_mx_peer_destruct(mca_ptl_base_peer_t* ptl_peer)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|