Posts

Showing posts with the label interleaving

Concurreny

Image
Concurrency (computer) is a concept where many process or thread run simultaneously in uniprocessor or multiprocessor or multicore. Computer users take it for granted that their systems can do more than one thing at a time.Even a single application is often expected to do more than one thing at a time. Concurrency arises in 3 different contexts: Multiple Applications: Multiprogramming was invented to allow processing time to be dynamically shared among active applications.  Structured Applications: As Extension of the principle of modular design and structured programming.  Operating system(OS) structure: OS themselves implemented as a set of processes or threads.  Here is some of the key term use in concurrency. Atomic Operation Function or action implemented as a sequence of one or more instructions that appears to be indivisible; that is, no other process can see an intermediate state or interrupt the operations. The sequence of instruct...