OpenMPI 0.1.1

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

- File List
- Globals

vprotocol_pessimist_wait.h
1 /*
2 * Copyright (c) 2004-2007 The Trustees of the University of Tennessee.
3 * All rights reserved.
4 * $COPYRIGHT$
5 *
6 * Additional copyrights may follow
7 *
8 * $HEADER$
9 */
10
11 #ifndef __VPROTOCOL_PESSIMIST_WAIT_H__
12 #define __VPROTOCOL_PESSIMIST_WAIT_H__
13
14 #include "ompi_config.h"
15 #include "ompi/request/request.h"
16
17 BEGIN_C_DECLS
18
19 #define VPROTOCOL_PESSIMIST_WAIT(req, status, rc) \
20 ((rc) = ompi_request_wait(req, status))
21
22 int mca_vprotocol_pessimist_test(ompi_request_t ** rptr, int *completed,
23 ompi_status_public_t * status);
24
25 int mca_vprotocol_pessimist_test_all(size_t count, ompi_request_t ** requests,
26 int *completed,
27 ompi_status_public_t * statuses);
28
29 int mca_vprotocol_pessimist_test_any(size_t count, ompi_request_t ** requests,
30 int *index, int *completed,
31 ompi_status_public_t * status);
32
33 int mca_vprotocol_pessimist_test_some(size_t count, ompi_request_t ** requests,
34 int * outcount, int * indices,
35 ompi_status_public_t * statuses);
36
37 int mca_vprotocol_pessimist_wait_any(size_t count, ompi_request_t ** requests,
38 int *index, ompi_status_public_t * status);
39
40 int mca_vprotocol_pessimist_wait_some(size_t count, ompi_request_t ** requests,
41 int *outcount, int *indexes,
42 ompi_status_public_t * statuses);
43
44 END_C_DECLS
45
46 #endif /* __VPROTOCOL_PESSIMIST_WAIT_H__ */
request.h
Top-level description of requests.
ompi_status_public_t
Definition: mpi.h:337
ompi_request_t
Main top-level request struct definition.
Definition: request.h:100