Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Remove MC_exit()
[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_mc_transition *mc_transition_t;
20
21 typedef struct s_stack_region{
22   void *address;
23 #if HAVE_UCONTEXT_H
24   ucontext_t* context;
25 #endif
26   size_t size;
27   int block;
28   int process_index;
29 }s_stack_region_t, *stack_region_t;
30
31 SG_END_DECL()
32
33 #endif                          /* _MC_MC_H */