Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of github.com:simgrid/simgrid into dev_11
[simgrid.git] / src / simix / popping_enum.hpp
1 /**********************************************************************/
2 /* File generated by src/simix/simcalls.py from src/simix/simcalls.in */
3 /*                                                                    */
4 /*                    DO NOT EVER CHANGE THIS FILE                    */
5 /*                                                                    */
6 /* change simcalls specification in src/simix/simcalls.in             */
7 /* Copyright (c) 2014-2020. The SimGrid Team. All rights reserved.    */
8 /**********************************************************************/
9
10 /*
11  * Note that the name comes from http://en.wikipedia.org/wiki/Popping
12  * Indeed, the control flow is doing a strange dance in there.
13  *
14  * That's not about http://en.wikipedia.org/wiki/Poop, despite the odor :)
15  */
16
17 namespace simgrid {
18 namespace simix {
19 /**
20  * @brief All possible simcalls.
21  */
22 enum class Simcall {
23   NONE,
24   EXECUTION_WAITANY_FOR,
25   COMM_SEND,
26   COMM_ISEND,
27   COMM_RECV,
28   COMM_IRECV,
29   COMM_WAITANY,
30   COMM_WAIT,
31   COMM_TEST,
32   COMM_TESTANY,
33   MUTEX_LOCK,
34   MUTEX_TRYLOCK,
35   MUTEX_UNLOCK,
36   COND_WAIT,
37   COND_WAIT_TIMEOUT,
38   SEM_ACQUIRE,
39   SEM_ACQUIRE_TIMEOUT,
40   MC_RANDOM,
41   RUN_KERNEL,
42   RUN_BLOCKING,
43 };
44
45 constexpr int NUM_SIMCALLS = 20;
46 } // namespace simix
47 } // namespace simgrid