JFrog interview question

Wanted to understand threads, concurrency, atomic