root/oshmem/mca/sshmem/base/sshmem_base_close.c

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

DEFINITIONS

This source file includes following definitions.
  1. mca_sshmem_base_close

   1 /*
   2  * Copyright (c) 2014      Mellanox Technologies, Inc.
   3  *                         All rights reserved.
   4  * $COPYRIGHT$
   5  *
   6  * Additional copyrights may follow
   7  *
   8  * $HEADER$
   9  */
  10 
  11 #include "oshmem_config.h"
  12 
  13 #include "opal/constants.h"
  14 #include "oshmem/mca/mca.h"
  15 #include "opal/mca/base/base.h"
  16 
  17 #include "oshmem/mca/sshmem/sshmem.h"
  18 #include "oshmem/mca/sshmem/base/base.h"
  19 
  20 /* ////////////////////////////////////////////////////////////////////////// */
  21 int
  22 mca_sshmem_base_close(void)
  23 {
  24     /* if there is a selected sshmem module, finalize it */
  25     if (NULL != mca_sshmem_base_module &&
  26         NULL != mca_sshmem_base_module->module_finalize) {
  27         mca_sshmem_base_module->module_finalize();
  28     }
  29 
  30     return mca_base_framework_components_close (&oshmem_sshmem_base_framework,
  31                                                 NULL);
  32 }
  33 

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