Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines for 2022.
[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-2022. 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   COMM_RECV,
25   COMM_IRECV,
26   COMM_SEND,
27   COMM_ISEND,
28   COMM_TEST,
29   COMM_TESTANY,
30   COMM_WAITANY,
31   COMM_WAIT,
32   RUN_KERNEL,
33   RUN_BLOCKING,
34 };
35
36 constexpr int NUM_SIMCALLS = 11;
37 } // namespace simix
38 } // namespace simgrid