Concurrency

Working with thread synchronization