Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] New message for stack_area
[simgrid.git] / src / mc / mc_protocol.h
index 9623ec0..a33d00e 100644 (file)
@@ -43,6 +43,7 @@ typedef enum {
   MC_MESSAGE_IGNORE_HEAP,
   MC_MESSAGE_UNIGNORE_HEAP,
   MC_MESSAGE_IGNORE_MEMORY,
+  MC_MESSAGE_STACK_REGION,
 } e_mc_message_type;
 
 #define MC_MESSAGE_LENGTH 512
@@ -74,6 +75,11 @@ typedef struct s_mc_ignore_memory_message {
   size_t size;
 } s_mc_ignore_memory_message_t, *mc_ignore_memory_message_t;
 
+typedef struct s_mc_stack_region_message {
+  e_mc_message_type type;
+  s_stack_region_t stack_region;
+} s_mc_stack_region_message_t, *mc_stack_region_message_t;
+
 int MC_protocol_send(int socket, void* message, size_t size);
 int MC_protocol_send_simple_message(int socket, int type);
 int MC_protocol_hello(int socket);