
Protect the public functions of the task state machine with a mutex, so that only one task/job state change is handled at a time. This should avoid race conditions.
Protect the public functions of the task state machine with a mutex, so that only one task/job state change is handled at a time. This should avoid race conditions.