root/oshmem/mca/spml/base/spml_base_request.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. mca_spml_base_request_construct
  2. mca_spml_base_request_destruct

   1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
   2 /*
   3  * Copyright (c) 2013      Mellanox Technologies, Inc.
   4  *                         All rights reserved.
   5  * Copyright (c) 2015      Los Alamos National Security, LLC. All rights
   6  *                         reserved.
   7  * Copyright (c) 2015      Research Organization for Information Science
   8  *                         and Technology (RIST). All rights reserved.
   9  * $COPYRIGHT$
  10  *
  11  * Additional copyrights may follow
  12  *
  13  * $HEADER$
  14  */
  15 
  16 #include "oshmem_config.h"
  17 #include "oshmem/mca/spml/spml.h"
  18 #include "oshmem/mca/spml/base/spml_base_request.h"
  19 
  20 /**
  21  * If you wonder why these 2 freelists are declared here read the comment
  22  * in the spml_base_request.h file.
  23  */
  24 opal_free_list_t mca_spml_base_put_requests = {{{0}}};
  25 opal_free_list_t mca_spml_base_get_requests = {{{0}}};
  26 opal_free_list_t mca_spml_base_atomic_requests = { { { 0 } } };
  27 
  28 static void mca_spml_base_request_construct(mca_spml_base_request_t* req)
  29 {
  30     req->req_oshmem.req_type = OSHMEM_REQUEST_SPML;
  31 }
  32 
  33 static void mca_spml_base_request_destruct(mca_spml_base_request_t* req)
  34 {
  35 }
  36 
  37 OBJ_CLASS_INSTANCE(mca_spml_base_request_t,
  38                    oshmem_request_t,
  39                    mca_spml_base_request_construct,
  40                    mca_spml_base_request_destruct);
  41 

/* [<][>][^][v][top][bottom][index][help] */