CONCURRENT PROGRAMMING FUNDAMENTALS
concurrency & parallelism INTRODUCTION :- T he phrase "parallelism" to describe concurrent programming, where execution is truly taking place in several contexts simultaneously. Thus, parallel hardware is necessary for true parallelism. There is no semantic distinction between "quasiparallelism" of a preemptive action and real parallelism. C oncurrent system that arbitrarily flips between execution contextstimes: In both cases, the same programming strategies are applicable.It alternates between execution contexts at random intervals; in both cases, the same programming strategies are applicable. An execution context in a concurrent program is referred to as a thread. The operating system provides one or more processes, on top of which the threads of a specific program are implemented. OS designers frequently make a distinction between a group of light-weight processes that may ...