High concurrency and parallel programming of concurrent

  • Concurrency: period there are many threads or processes in execution, but what point in time only one in execution, multiple threads or processes take turns fighting for time slice execution.

  • Parallel: the time period and the point has multiple threads or processes in execution.

  

                   Concurrent execution on a single-core system of FIG.

     Parallel execution on multi-core system
              Parallel on multi-core system of FIG. 2 perform

 

Guess you like

Origin www.cnblogs.com/lpfuture/p/11881756.html