The status check in JobRunner::Start could lead to a potential race condition, if Start is called multiple times within a short period, because the status is checked without any lock guard.
Fixed by including the status check into the guarded section: PR #15
The status check in
JobRunner::Startcould lead to a potential race condition, ifStartis called multiple times within a short period, because the status is checked without any lock guard.Fixed by including the status check into the guarded section: PR #15