SAM function SAM-Check-execution-status()
SAM_Check_execution_status - Check the execution status of a worker thread
#include <sam.h> SAM_Worker_status_t SAM_Check_execution_status(SAM_t sam, SAM_Workerid_t wid);
The SAM_Check_execution_status() function returns the status of the worker thread wid.
The worker thread is not yet initialized.
The worker thread is waiting for the operating system scheduler to start execution.
The worker thread is executing normally.
The worker thread is in the middle of a flash back.
The worker thread has been halted, and it is waiting for a manual restart.
The worker thread has been cancelled.
The worker thread has finished execution and is waiting to be joined, merge the speculative memory writing and to return the result.
The worker thread has finished execution and has been joined, the speculative memory writing has been merged and result retrieved and merged.
 Return value
See DESCRIPTION above.
None, assumes correct input parameters.