ad_pvfs2_close.c

来自「mpi并行计算的c++代码 可用vc或gcc编译通过 可以用来搭建并行计算试验环」· C语言 代码 · 共 28 行

C
28
字号
/* -*- Mode: C; c-basic-offset:4 ; -*- *//*  * *   Copyright (C) 1997 University of Chicago.  *   See COPYRIGHT notice in top-level directory. */#include "ad_pvfs2.h"void ADIOI_PVFS2_Close(ADIO_File fd, int *error_code){    ADIOI_Free(fd->fs_ptr);    /* PVFS2 doesn't have a 'close', but MPI-IO semantics dictate that we     * ensure all data has been flushed.     */    /* At some point or another it was decided that ROMIO would not     * explicitly flush (other than any local cache) on close, because     * there is no way to *avoid* that overhead if you implement it here     * and don't actually want it.     */    *error_code = MPI_SUCCESS;}/*  * vim: ts=8 sts=4 sw=4 noexpandtab  */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?