Synchronous and asynchronous -

Request, response sequence performed in strict sequence on a time axis;

Event, time, sequence;

In unison with the same timing;

 

Even a flow of operations executed in parallel, on the information and the state can be maintained consistent;

Both the information and the communication status can be consistent;

 

Synchronization: Wait + processed immediately;

Sync: execution modes: single-threaded mode; function call stack mode;

 

fire and wait: only wait in order to maintain strict consistency;

fire and forget;

 

Based synchronization concurrency: coroutine;

Serial-based synchronization: thread;

 

The sequence of events that occur there are strict requirements;

Change the two sides together to communicate;

 

The communication channel is a synchronization;

Asynchronous communication channel is two;

 

Synchronization refers to an amount of two or more time-varying relationship keep a certain relative change process.

Synchronization (English: Synchronization), refers to events (event) that occurs in a system, the emergence of consistency and unity of phenomena in time.

 

https://baike.baidu.com/item/ synchronous / 984,802

 

It does not require any preparation, processing immediately;

 

Focus mode?

 

Guess you like

Origin www.cnblogs.com/feng9exe/p/11115276.html