Cleanup code use std::mutex and std::thread where possible

Merge request reports

Loading