root/opal/mca/pmix/pmix4x/pmix/src/mca/gds/ds12/gds_ds12_lock.h

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

INCLUDED FROM


   1 /*
   2  * Copyright (c) 2018      Mellanox Technologies, Inc.
   3  *                         All rights reserved.
   4  * $COPYRIGHT$
   5  *
   6  * Additional copyrights may follow
   7  *
   8  * $HEADER$
   9  */
  10 
  11 #ifndef DS12_LOCK_H
  12 #define DS12_LOCK_H
  13 
  14 #include <src/include/pmix_config.h>
  15 #include <pmix_common.h>
  16 
  17 #include "src/mca/common/dstore/dstore_common.h"
  18 
  19 pmix_status_t pmix_gds_ds12_lock_init(pmix_common_dstor_lock_ctx_t *lock_ctx,
  20                                       const char *base_path,  const char *name,
  21                                       uint32_t local_size, uid_t uid, bool setuid);
  22 void pmix_ds12_lock_finalize(pmix_common_dstor_lock_ctx_t *lock_ctx);
  23 pmix_status_t pmix_ds12_lock_rd_get(pmix_common_dstor_lock_ctx_t lock_ctx);
  24 pmix_status_t pmix_ds12_lock_wr_get(pmix_common_dstor_lock_ctx_t lock_ctx);
  25 pmix_status_t pmix_ds12_lock_rw_rel(pmix_common_dstor_lock_ctx_t lock_ctx);
  26 
  27 extern pmix_common_lock_callbacks_t pmix_ds12_lock_module;
  28 
  29 #endif // DS12_LOCK_H

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