Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
setup a cleanup routine for mvapich collectives.
[simgrid.git] / src / include / mc / datatypes.h
1 /* Copyright (c) 2008-2015. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef MC_DATATYPE_H
8 #define MC_DATATYPE_H
9
10 #include <src/internal_config.h>
11 #include <xbt/base.h>
12
13 #if HAVE_UCONTEXT_H
14 #include <ucontext.h>           /* context relative declarations */
15 #endif
16
17 SG_BEGIN_DECL()
18
19 typedef struct s_stack_region{
20   void *address;
21 #if HAVE_UCONTEXT_H
22   ucontext_t* context;
23 #endif
24   size_t size;
25   int block;
26   int process_index;
27 }s_stack_region_t, *stack_region_t;
28
29 SG_END_DECL()
30
31 #endif                          /* _MC_MC_H */