2015-02-19 23:41:41 +03:00
|
|
|
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
|
2004-01-09 22:20:50 +03:00
|
|
|
/*
|
2005-11-05 22:57:48 +03:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
2015-06-25 00:29:45 +03:00
|
|
|
* Copyright (c) 2004-2015 The University of Tennessee and The University
|
2005-11-05 22:57:48 +03:00
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2015-06-24 06:59:57 +03:00
|
|
|
* Copyright (c) 2004-2007 High Performance Computing Center Stuttgart,
|
2004-11-28 23:09:25 +03:00
|
|
|
* 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.
|
2015-02-19 23:41:41 +03:00
|
|
|
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
|
|
|
|
* reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
* $COPYRIGHT$
|
2015-06-24 06:59:57 +03:00
|
|
|
*
|
2004-11-22 04:38:40 +03:00
|
|
|
* Additional copyrights may follow
|
2015-06-24 06:59:57 +03:00
|
|
|
*
|
2004-01-09 22:20:50 +03:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
2004-10-20 05:03:09 +04:00
|
|
|
#include "ompi_config.h"
|
2006-02-12 04:33:29 +03:00
|
|
|
#include "ompi/mca/pml/pml.h"
|
|
|
|
#include "ompi/mca/pml/base/pml_base_request.h"
|
2004-01-09 22:20:50 +03:00
|
|
|
|
2007-07-11 02:16:38 +04:00
|
|
|
/**
|
|
|
|
* If you wonder why these 2 freelists are declared here read the comment
|
|
|
|
* in the pml_base_request.h file.
|
|
|
|
*/
|
2015-02-19 23:41:41 +03:00
|
|
|
opal_free_list_t mca_pml_base_send_requests = {{{0}}};
|
|
|
|
opal_free_list_t mca_pml_base_recv_requests = {{{0}}};
|
2007-07-11 02:16:38 +04:00
|
|
|
|
2004-03-26 17:15:20 +03:00
|
|
|
static void mca_pml_base_request_construct(mca_pml_base_request_t* req)
|
|
|
|
{
|
2004-07-15 22:08:20 +04:00
|
|
|
req->req_ompi.req_type = OMPI_REQUEST_PML;
|
2004-03-26 17:15:20 +03:00
|
|
|
}
|
|
|
|
|
2007-01-21 17:24:29 +03:00
|
|
|
OBJ_CLASS_INSTANCE(
|
|
|
|
mca_pml_base_request_t,
|
|
|
|
ompi_request_t,
|
|
|
|
mca_pml_base_request_construct,
|
2015-06-25 00:29:45 +03:00
|
|
|
NULL
|
2007-01-21 17:24:29 +03:00
|
|
|
);
|
2004-01-09 22:20:50 +03:00
|
|
|
|