#include <xbt/base.h>
#include "mc/datatypes.h"
+#include "simgrid/forward.h"
SG_BEGIN_DECL()
MC_MESSAGE_ASSERTION_FAILED,
// MCer request to finish the restoration:
MC_MESSAGE_RESTORE,
+ MC_MESSAGE_ACTOR_ENABLED,
+ MC_MESSAGE_ACTOR_ENABLED_REPLY
} e_mc_message_type;
#define MC_MESSAGE_LENGTH 512
/** Basic structure for a MC message
*
* The current version of the client/server protocol sends C structures over `AF_LOCAL`
- * `SOCK_DGRAM` sockets. This means that the protocol is ABI/architecture specific:
+ * `SOCK_SEQPACKET` sockets. This means that the protocol is ABI/architecture specific:
* we currently can't model-check a x86 process from a x86_64 process.
*
* Moreover the protocol is not stable. The same version of the library should be used
};
typedef struct s_mc_message_restore s_mc_message_restore_t;
+struct s_mc_message_actor_enabled {
+ e_mc_message_type type;
+ aid_t aid; // actor ID
+};
+typedef struct s_mc_message_actor_enabled s_mc_message_actor_enabled_t;
+
XBT_PRIVATE const char* MC_message_type_name(e_mc_message_type type);
SG_END_DECL()