2. Explain the difference between the task concept and the subprogram.
3. Explain the definition of Synchronization , and why it is required in concurrency . Give an example of a case where synchronization becomes a necessity.
This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.Question 1
The difference is suggested by the attributes from their names. In summary, the unit level concurrency deals with the execution of at least two subprogram units at the same time, while program level concurrency represents the simultaneous execution of at least two programs. In order to understand easier the difference between the two types of concurrency, it is useful to recall that processors from 60’s were implementing program-level version (multiple complete CPUs), while MIMD machines (stands for Multiple Instructions Multiple Data) are a typical example of unit-level concurrency, since it was possible to synchronize independent processors....