parallel
Complicated by
Parallel means that two or more events occur at the same time; and refers to two or more concurrent events occur at the same time intervals.
General explanation:
Concurrency: the ability to alternate doing different things
Parallel: while the ability to do different things
Terminology:
Concurrent: different code blocks alternately performed
Parallel: simultaneously execute different code blocks
Synchronization: the completion of a task need to rely on another task, only waiting to be dependent on the completion of the task, the task can be considered complete dependence
This is a reliable task sequence, either succeed are successful, failed and failed, two state of the task can be consistent
Asynchronous: does not need to wait to be dependent on completion of the task, but notification is dependent on what work tasks to complete, depending on the task execution immediately
As long as they complete the entire task even if completed, as to be dependent on the final task is truly complete, depending on its mission can not be determined
So it is not reliable task sequence
Clog
Non-blocking
Synchronous non-blocking form
Asynchronous non-blocking form