2004-01-09 19:20:50 +00:00
|
|
|
/*
|
2005-11-05 19:57:48 +00:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
2007-07-10 22:16:38 +00:00
|
|
|
* Copyright (c) 2004-2007 The University of Tennessee and The University
|
2005-11-05 19:57:48 +00:00
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2007-01-21 14:24:29 +00:00
|
|
|
* Copyright (c) 2004-2007 High Performance Computing Center Stuttgart,
|
2004-11-28 20:09:25 +00:00
|
|
|
* 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-01-09 19:20:50 +00:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
2004-10-20 01:03:09 +00:00
|
|
|
#include "ompi_config.h"
|
2006-02-12 01:33:29 +00:00
|
|
|
#include "ompi/mca/pml/pml.h"
|
|
|
|
#include "ompi/mca/pml/base/pml_base_request.h"
|
2004-01-09 19:20:50 +00:00
|
|
|
|
2007-07-10 22:16:38 +00:00
|
|
|
/**
|
|
|
|
* If you wonder why these 2 freelists are declared here read the comment
|
|
|
|
* in the pml_base_request.h file.
|
|
|
|
*/
|
2009-08-04 21:41:14 +00:00
|
|
|
ompi_free_list_t mca_pml_base_send_requests = {{{0}}};
|
|
|
|
ompi_free_list_t mca_pml_base_recv_requests = {{{0}}};
|
2007-07-10 22:16:38 +00:00
|
|
|
|
2004-03-26 14:15:20 +00:00
|
|
|
static void mca_pml_base_request_construct(mca_pml_base_request_t* req)
|
|
|
|
{
|
2004-07-15 18:08:20 +00:00
|
|
|
req->req_ompi.req_type = OMPI_REQUEST_PML;
|
2004-03-26 14:15:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static void mca_pml_base_request_destruct(mca_pml_base_request_t* req)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2007-01-21 14:24:29 +00:00
|
|
|
OBJ_CLASS_INSTANCE(
|
|
|
|
mca_pml_base_request_t,
|
|
|
|
ompi_request_t,
|
|
|
|
mca_pml_base_request_construct,
|
|
|
|
mca_pml_base_request_destruct
|
|
|
|
);
|
2004-01-09 19:20:50 +00:00
|
|
|
|