OpenMPI 0.1.1

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

- File List
- Globals

mtl_portals4_recv_short.h
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 (c) 2010 Sandia National Laboratories. All rights reserved.
13 * $COPYRIGHT$
14 *
15 * Additional copyrights may follow
16 *
17 * $HEADER$
18 */
19
20 #ifndef OMPI_MTL_PORTALS_RECV_SHORT_H
21 #define OMPI_MTL_PORTALS_RECV_SHORT_H
22
23 #include "mtl_portals4_request.h"
24
25 struct ompi_mtl_portals4_recv_short_block_t {
26 opal_list_item_t base;
27 void *start;
28 ptl_handle_me_t me_h;
29 struct ompi_mtl_portals4_recv_short_request_t request;
30 bool release_on_free;
31 };
32 typedef struct ompi_mtl_portals4_recv_short_block_t ompi_mtl_portals4_recv_short_block_t;
33 OBJ_CLASS_DECLARATION(ompi_mtl_portals4_recv_short_block_t);
34
35 /* initialize and post short receive blocks */
36 extern int ompi_mtl_portals4_recv_short_init(void);
37
38 /* clean up all short receive blocks */
39 extern int ompi_mtl_portals4_recv_short_fini(void);
40
41 /* ensure that there's at least N short receive blocks linked */
42 extern int ompi_mtl_portals4_recv_short_link(int count);
43
44 #endif /* OMPI_MTL_PORTALS_RECV_SHORT_H */
ompi_mtl_portals4_recv_short_request_t
Definition: mtl_portals4_request.h:80
ompi_mtl_portals4_recv_short_block_t
Definition: mtl_portals4_recv_short.h:25
opal_list_item_t
Definition: opal_list.h:98
OBJ_CLASS_DECLARATION
#define OBJ_CLASS_DECLARATION(NAME)
Declaration for class descriptor.
Definition: opal_object.h:236