Thursday 13 February 2014

Serial And Parallel Programming Execution in C#

 

 

Serial (or) Sequence programming

 

Serial execution is when tasks are completed consecutively (one after the other), as opposed to concurrently (at the same time, in parallel).

 

image

 

 

 

image

 

 

image

 

 

 

image

 

 

 

 

Parallel (or) Concurrent Programming

Parallel (or) Concurrent computing is a form of computing in which several computations are executing during overlapping time periods – concurrently – instead of sequentially (one completing before the next starts). This is a property of a system – this may be an individual program, a computer, or a network – and there is a separate execution point or "thread of control" for each computation ("process"). A concurrent system is one where a computation can make progress without waiting for all other computations to complete – where more than one computation can make progress at "the same time" (see definition, below).

As a programming paradigm, concurrent computing is a form of modular programming, namely factoring an overall computation into sub computations that may be executed concurrently.

 

 

image

 

 

 

 

image

 

 

 

image

 

 

 

Blogger Labels: Serial,Parallel,Execution,Sequence,tasks,Concurrent,computations,periods,system,computer,computation,definition,paradigm

No comments:

Post a Comment