Add global mutex for locking non thread safe operations
Can't show this merge request because the source branch global-mutex is missing from project georgekoltsov-multiple-projects-test-5/imported-project-ef029319134ab099. Close this merge request or update the source branch.