SAM function SAM-Execution-restart()
SAM_Execution_restart - Force the restart of a worker thread
#include <sam.h> void SAM_Execution_restart(SAM_t sam, SAM_Workerid_t wid);
The SAM_Execution_restart() function restarts the execution of the worker thread wid within the context of the SAM Structure object sam, from its initial state. On its return, the worker is already executing from its initial state. It shall only be called from the main execution thread.
 Return value
None, assumes correct input parameters.