OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

io_base_request.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
3 * University Research and Technology
4 * Corporation. All rights reserved.
5 * Copyright (c) 2004-2006 The University of Tennessee and The University
6 * of Tennessee Research Foundation. All rights
7 * reserved.
8 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9 * University of Stuttgart. All rights reserved.
10 * Copyright (c) 2004-2005 The Regents of the University of California.
11 * All rights reserved.
12 * $COPYRIGHT$
13 *
14 * Additional copyrights may follow
15 *
16 * $HEADER$
17 */
18 /**
19 * @file
20 *
21 * This is the base request type for all IO requests.
22 */
23
24 #ifndef IO_BASE_REQUEST_H
25 #define IO_BASE_REQUEST_H
26
27 #include "ompi_config.h"
28 #include "opal/class/opal_object.h"
29 #include "ompi/request/request.h"
30 #include "ompi/file/file.h"
31 #include "ompi/mca/io/base/base.h"
32
33 /**
34 * Base request type.
35 */
36 struct mca_io_base_request_t {
37 /** Base request */
38 ompi_request_t super;
39
40 /** ompi_file_t of the file that owns this request */
41 ompi_file_t *req_file;
42
43 /** io component version number of the module that owns this
44 request (i.e., this defines what follows this entry in
45 memory) */
46 mca_io_base_version_t req_ver;
47 /** True if free has been called on this request (before it has
48 been finalized */
49 volatile bool free_called;
50 };
51 /**
52 * Convenience typedef
53 */
54 typedef struct mca_io_base_request_t mca_io_base_request_t;
55
56 BEGIN_C_DECLS
57
58 /**
59 * Declare the class
60 */
61 OMPI_DECLSPEC OBJ_CLASS_DECLARATION(mca_io_base_request_t);
62
63 END_C_DECLS
64
65 #endif
mca_io_base_request_t
Base request type.
Definition: io_base_request.h:36
mca_io_base_request_t::req_ver
mca_io_base_version_t req_ver
io component version number of the module that owns this request (i.e., this defines what follows thi...
Definition: io_base_request.h:46
mca_io_base_request_t::req_file
ompi_file_t * req_file
ompi_file_t of the file that owns this request
Definition: io_base_request.h:41
request.h
Top-level description of requests.
base.h
MCA io base framework public interface functions.
ompi_file_t
Back-end structure for MPI_File.
Definition: file.h:42
mca_io_base_request_t::super
ompi_request_t super
Base request.
Definition: io_base_request.h:38
opal_object.h
A simple C-language object-oriented system with single inheritance and ownership-based memory managem...
ompi_request_t
Main top-level request struct definition.
Definition: request.h:100
OBJ_CLASS_DECLARATION
BEGIN_C_DECLS OMPI_DECLSPEC OBJ_CLASS_DECLARATION(mca_io_base_request_t)
Declare the class.
mca_io_base_request_t::free_called
volatile bool free_called
True if free has been called on this request (before it has been finalized.
Definition: io_base_request.h:49