
A per-task mutex is used to protect the writing of task logs, so that mutliple goroutines can safely write to the same task log.
A per-task mutex is used to protect the writing of task logs, so that mutliple goroutines can safely write to the same task log.