📄 io_romio_ad_wait_fake.c
字号:
/* -*- Mode: C; c-basic-offset:4 ; -*- *//* * * Copyright (C) 2004 University of Chicago. * See COPYRIGHT notice in top-level directory. */#include "adio.h"/* Generic implementation of ReadComplete/WriteComplete simply sets the * bytes field in the status structure and frees the request. * * Same function is used for both reads and writes. */void ADIOI_FAKE_IOComplete(ADIO_Request *request, ADIO_Status *status, int *error_code){ if (*request == ADIO_REQUEST_NULL) { *error_code = MPI_SUCCESS; return; }#ifdef HAVE_STATUS_SET_BYTES MPIR_Status_set_bytes(status, (*request)->datatype, (*request)->nbytes);#endif (*request)->fd->async_count--; ADIOI_Free_request((ADIOI_Req_node *) (*request)); *request = ADIO_REQUEST_NULL; *error_code = MPI_SUCCESS;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -