SAM function SAM-Execution-restart()

From SoOS

Jump to: navigation, search

Contents

[edit] Name

SAM_Execution_restart - Force the restart of a worker thread

[edit] Synopsis

#include <sam.h>
 
void SAM_Execution_restart(SAM_t sam, SAM_Workerid_t wid);

[edit] Description

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.

[edit] Return value

None.

[edit] Errors

None, assumes correct input parameters.

[edit] Examples

None.

[edit] See also

SAM_Execution_create(), SAM_Execution_join(), SAM_Execution_start(), SAM_Execution_finish(), SAM_Execution_cancel(), <sam.h>.