7.2 Concurrency
In computer science, concurrency is a property of systems in which several computations are executing simultaneously. Many applications require concurrency, for example a web server may have to support hundreds or thousands of connections at a single time. Note that concurrency differs from parallelism. Deadlock occurs when two processes need two non-shareable resources to proceed but one process has acquired one resource and the other has acquired the other resource.