ROOT-Sim core  3.0.0-rc.2
A General-Purpose Multi-threaded Parallel/Distributed Simulation Library
control_msg.h
Go to the documentation of this file.
1 
11 #pragma once
12 
13 #include <gvt/gvt.h>
14 #include <gvt/termination.h>
15 
24 };
25 
26 extern void control_msg_process(enum msg_ctrl_code ctrl);
msg_ctrl_code
A control message MPI tag value.
Definition: control_msg.h:17
@ MSG_CTRL_GVT_START
Used by the master to start a new gvt reduction operation.
Definition: control_msg.h:19
@ MSG_CTRL_GVT_DONE
Used by slaves to signal their completion of the gvt protocol.
Definition: control_msg.h:21
@ MSG_CTRL_TERMINATION
Used in broadcast to signal that local LPs can terminate.
Definition: control_msg.h:23
void control_msg_process(enum msg_ctrl_code ctrl)
Handle a received control message.
Definition: control_msg.c:17
Global Virtual Time.
Termination detection module.