OpenMPI 0.1.1

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

- File List
- Globals

btl_sm_endpoint.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-2005 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) 2006-2007 Voltaire. All rights reserved.
13 * $COPYRIGHT$
14 *
15 * Additional copyrights may follow
16 *
17 * $HEADER$
18 */
19 /**
20 * @file
21 */
22 #ifndef MCA_BTL_SM_ENDPOINT_H
23 #define MCA_BTL_SM_ENDPOINT_H
24
25 /**
26 * An abstraction that represents a connection to a endpoint process.
27 * An instance of mca_ptl_base_endpoint_t is associated w/ each process
28 * and BTL pair at startup.
29 */
30
31 struct mca_btl_base_endpoint_t {
32 int my_smp_rank; /**< My SMP process rank. Used for accessing
33 * SMP specfic data structures. */
34 int peer_smp_rank; /**< My peer's SMP process rank. Used for accessing
35 * SMP specfic data structures. */
36 #if OMPI_ENABLE_PROGRESS_THREADS == 1
37 int fifo_fd; /**< pipe/fifo used to signal endpoint that data is queued */
38 #endif
39 opal_list_t pending_sends; /**< pending data to send */
40
41 /** lock for concurrent access to endpoint state */
42 opal_mutex_t endpoint_lock;
43
44 };
45
46 void btl_sm_process_pending_sends(struct mca_btl_base_endpoint_t *ep);
47 #endif
opal_mutex_t
Definition: mutex_unix.h:53
mca_btl_base_endpoint_t::peer_smp_rank
int peer_smp_rank
My peer's SMP process rank.
Definition: btl_sm_endpoint.h:34
mca_btl_base_endpoint_t::endpoint_lock
opal_mutex_t endpoint_lock
lock for concurrent access to endpoint state
Definition: btl_openib_endpoint.h:198
mca_btl_base_endpoint_t
State of ELAN endpoint connection.
Definition: btl_elan_endpoint.h:33
opal_list_t
Definition: opal_list.h:147
mca_btl_base_endpoint_t::pending_sends
opal_list_t pending_sends
pending data to send
Definition: btl_sm_endpoint.h:39
mca_btl_base_endpoint_t::my_smp_rank
int my_smp_rank
My SMP process rank.
Definition: btl_sm_endpoint.h:32