Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
3ec6ccff75da07d5ffbfa5db51c3e4f6dd493eff
[simgrid.git] / src / mc / mc_exit.hpp
1 /* Copyright (c) 2015-2019. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #ifndef SIMGRID_MC_EXIT_HPP
7 #define SIMGRID_MC_EXIT_HPP
8 #include "xbt/base.h"
9
10 #define SIMGRID_MC_EXIT_SUCCESS 0
11 #define SIMGRID_MC_EXIT_SAFETY 1
12 #define SIMGRID_MC_EXIT_LIVENESS 2
13 #define SIMGRID_MC_EXIT_DEADLOCK 3
14 #define SIMGRID_MC_EXIT_NON_TERMINATION 4
15 #define SIMGRID_MC_EXIT_NON_DETERMINISM 5
16 #define SIMGRID_MC_EXIT_PROGRAM_CRASH 6
17
18 #define SIMGRID_MC_EXIT_ERROR 63
19
20 namespace simgrid {
21 namespace mc {
22 class XBT_PUBLIC DeadlockError {
23 };
24 class XBT_PUBLIC TerminationError {
25 };
26 class XBT_PUBLIC LivenessError {
27 };
28 }
29 }
30
31 #endif