2004-03-16 23:34:41 +00:00
|
|
|
/*
|
2004-11-22 01:38:40 +00:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
|
|
* All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
|
|
* All rights reserved.
|
2004-11-28 20:09:25 +00:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
2005-03-24 12:43:37 +00:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2004-11-22 01:38:40 +00:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
2004-03-16 23:34:41 +00:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
2004-06-07 15:33:53 +00:00
|
|
|
#ifndef OMPI_WIN_H
|
|
|
|
#define OMPI_WIN_H
|
2004-03-16 23:34:41 +00:00
|
|
|
|
|
|
|
|
2004-03-26 05:32:37 +00:00
|
|
|
#include "mpi.h"
|
|
|
|
#include "errhandler/errhandler.h"
|
2005-07-03 16:06:07 +00:00
|
|
|
#include "opal/class/opal_object.h"
|
2005-07-03 16:52:32 +00:00
|
|
|
#include "class/opal_hash_table.h"
|
2004-10-20 22:31:03 +00:00
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2004-03-16 23:34:41 +00:00
|
|
|
|
|
|
|
|
2004-12-14 02:35:03 +00:00
|
|
|
#if OMPI_WANT_MPI2_ONE_SIDED
|
2004-06-07 15:33:53 +00:00
|
|
|
struct ompi_win_t {
|
2004-03-19 00:00:09 +00:00
|
|
|
char w_name[MPI_MAX_OBJECT_NAME];
|
|
|
|
|
2005-07-03 16:06:07 +00:00
|
|
|
opal_object_t w_base;
|
2004-03-16 23:34:41 +00:00
|
|
|
|
|
|
|
/* Attributes */
|
2004-03-19 00:00:09 +00:00
|
|
|
|
2005-07-03 16:52:32 +00:00
|
|
|
opal_hash_table_t *w_keyhash;
|
2004-03-16 23:34:41 +00:00
|
|
|
|
2004-03-19 00:00:09 +00:00
|
|
|
/* index in Fortran <-> C translation array */
|
|
|
|
|
|
|
|
int w_f_to_c_index;
|
|
|
|
|
2004-03-19 06:12:43 +00:00
|
|
|
/* Error handling. This field does not have the "w_" prefix so that
|
2004-06-07 15:33:53 +00:00
|
|
|
the OMPI_ERRHDL_* macros can find it, regardless of whether it's a
|
2004-03-19 06:12:43 +00:00
|
|
|
comm, window, or file. */
|
2004-09-06 12:06:27 +00:00
|
|
|
ompi_errhandler_t *error_handler;
|
|
|
|
ompi_errhandler_type_t errhandler_type;
|
2004-03-16 23:34:41 +00:00
|
|
|
};
|
2004-06-07 15:33:53 +00:00
|
|
|
typedef struct ompi_win_t ompi_win_t;
|
2004-03-16 23:34:41 +00:00
|
|
|
|
2004-10-22 16:06:05 +00:00
|
|
|
OMPI_DECLSPEC OBJ_CLASS_DECLARATION(ompi_win_t);
|
2004-12-14 02:35:03 +00:00
|
|
|
#endif
|
2004-10-20 12:28:09 +00:00
|
|
|
|
2004-10-20 22:31:03 +00:00
|
|
|
#if defined(c_plusplus) || defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
2004-03-16 23:34:41 +00:00
|
|
|
#endif
|