1 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
2 /*
3 *
4 * Copyright (C) 2004 University of Chicago.
5 * See COPYRIGHT notice in top-level directory.
6 */
7
8 #include "adio.h"
9
10 /* Generic implementation of ReadComplete/WriteComplete simply sets the
11 * bytes field in the status structure and frees the request.
12 *
13 * Same function is used for both reads and writes.
14 */
15 void ADIOI_FAKE_IOComplete(ADIO_Request *request, ADIO_Status *status,
16 int *error_code)
17 {
18 *error_code = MPI_SUCCESS;
19 return;
20 }