Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
1c51894c9f022210363269301c22c1ae9bf38251
[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-2021. 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_RECV,
26   COMM_IRECV,
27   COMM_SEND,
28   COMM_ISEND,
29   COMM_TEST,
30   COMM_TESTANY,
31   COMM_WAITANY,
32   COMM_WAIT,
33   SEM_ACQUIRE_TIMEOUT,
34   RUN_KERNEL,
35   RUN_BLOCKING,
36 };
37
38 constexpr int NUM_SIMCALLS = 13;
39 } // namespace simix
40 } // namespace simgrid