Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sonar don't like comments ending with ';'
[simgrid.git] / src / mc / mc_exit.hpp
1 /* Copyright (c) 2015-2017. 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 XBT_PUBLIC_CLASS DeadlockError{};
23 XBT_PUBLIC_CLASS TerminationError{};
24 XBT_PUBLIC_CLASS LivenessError{};
25 }
26 }
27
28 #endif