Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill another old-fashioned simcall
[simgrid.git] / src / simix / popping_enum.h
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-2017. 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 /**
18  * @brief All possible simcalls.
19  */
20 typedef enum {
21   SIMCALL_NONE,
22   SIMCALL_PROCESS_KILL,
23   SIMCALL_PROCESS_KILLALL,
24   SIMCALL_PROCESS_CLEANUP,
25   SIMCALL_PROCESS_SUSPEND,
26   SIMCALL_PROCESS_JOIN,
27   SIMCALL_PROCESS_SLEEP,
28   SIMCALL_EXECUTION_START,
29   SIMCALL_EXECUTION_PARALLEL_START,
30   SIMCALL_EXECUTION_CANCEL,
31   SIMCALL_EXECUTION_SET_PRIORITY,
32   SIMCALL_EXECUTION_SET_BOUND,
33   SIMCALL_EXECUTION_WAIT,
34   SIMCALL_PROCESS_ON_EXIT,
35   SIMCALL_PROCESS_RESTART,
36   SIMCALL_COMM_IPROBE,
37   SIMCALL_COMM_SEND,
38   SIMCALL_COMM_ISEND,
39   SIMCALL_COMM_RECV,
40   SIMCALL_COMM_IRECV,
41   SIMCALL_COMM_WAITANY,
42   SIMCALL_COMM_WAIT,
43   SIMCALL_COMM_TEST,
44   SIMCALL_COMM_TESTANY,
45   SIMCALL_MUTEX_INIT,
46   SIMCALL_MUTEX_LOCK,
47   SIMCALL_MUTEX_TRYLOCK,
48   SIMCALL_MUTEX_UNLOCK,
49   SIMCALL_COND_INIT,
50   SIMCALL_COND_SIGNAL,
51   SIMCALL_COND_WAIT,
52   SIMCALL_COND_WAIT_TIMEOUT,
53   SIMCALL_COND_BROADCAST,
54   SIMCALL_SEM_INIT,
55   SIMCALL_SEM_RELEASE,
56   SIMCALL_SEM_WOULD_BLOCK,
57   SIMCALL_SEM_ACQUIRE,
58   SIMCALL_SEM_ACQUIRE_TIMEOUT,
59   SIMCALL_SEM_GET_CAPACITY,
60   SIMCALL_FILE_READ,
61   SIMCALL_FILE_WRITE,
62   SIMCALL_MC_RANDOM,
63   SIMCALL_SET_CATEGORY,
64   SIMCALL_RUN_KERNEL,
65   SIMCALL_RUN_BLOCKING,  NUM_SIMCALLS
66 } e_smx_simcall_t;