Concurrency (Based on:Concepts of Programming Languages, 8th edition, by Robert W. Sebesta, 2007) The Different Types of Concurrency Concurrency in software execution can…