2004-06-24 19:28:30 +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-06-24 19:28:30 +00:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
2004-10-20 01:03:09 +00:00
|
|
|
#include "ompi_config.h"
|
2004-06-24 19:28:30 +00:00
|
|
|
#include <string.h>
|
2005-04-13 03:19:48 +00:00
|
|
|
#include "mca/pml/pml.h"
|
2004-06-24 19:28:30 +00:00
|
|
|
#include "mca/pml/base/pml_base_sendreq.h"
|
|
|
|
|
|
|
|
static void mca_pml_base_send_request_construct(mca_pml_base_send_request_t* req);
|
|
|
|
static void mca_pml_base_send_request_destruct(mca_pml_base_send_request_t* req);
|
|
|
|
|
|
|
|
|
2005-07-03 16:06:07 +00:00
|
|
|
opal_class_t mca_pml_base_send_request_t_class = {
|
2004-06-24 19:28:30 +00:00
|
|
|
"mca_pml_base_send_request_t",
|
|
|
|
OBJ_CLASS(mca_pml_base_request_t),
|
2005-07-03 16:06:07 +00:00
|
|
|
(opal_construct_t) mca_pml_base_send_request_construct,
|
|
|
|
(opal_destruct_t) mca_pml_base_send_request_destruct
|
2004-06-24 19:28:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static void mca_pml_base_send_request_construct(mca_pml_base_send_request_t* request)
|
|
|
|
{
|
|
|
|
/* no need to reinit for every send -- never changes */
|
2004-07-15 18:08:20 +00:00
|
|
|
request->req_base.req_type = MCA_PML_REQUEST_SEND;
|
2004-06-24 19:28:30 +00:00
|
|
|
OBJ_CONSTRUCT(&request->req_convertor, ompi_convertor_t);
|
|
|
|
}
|
|
|
|
|
|
|
|
static void mca_pml_base_send_request_destruct(mca_pml_base_send_request_t* req)
|
|
|
|
{
|
2005-05-09 19:37:10 +00:00
|
|
|
OBJ_DESTRUCT(&req->req_convertor);
|
2004-06-24 19:28:30 +00:00
|
|
|
}
|
|
|
|
|