Concurrent Programs
Only a few years ago, the majority of software developers were able to concentrate on problems occurring when a program executed one single sequential command stream. Today, very few applications run sequentially; the catchword is concurrent.
The principle of concurrency is based on the concept of things happening at the same time. Concurrency can be purely virtual, like the execution of a program on a computer with one single processor. But it can be actually present, when several processors or even several computers are involved.
We distinguish between processes and threads. Most operating systems seal off processes from one another, which means that processes have to communicate over explicit ...
Get Unit Testing in Java now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.