Set the mutex used by the task.
The mutex will be acquired before calling the TaskFunction.
This function has to be called before calling pause or start.
MT safe.
The Task to use
The RecMutex to use