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