test-task This repository was created to demonstrate the solution of test task. The challenge was to make the code thread-safe. Two methods were proposed for the solution: one using a locker, the other using a semaphore.