当前位置:网站首页>Differences among concurrent, parallel, serial, synchronous and asynchronous
Differences among concurrent, parallel, serial, synchronous and asynchronous
2022-06-13 06:22:00 【Novice Xiaowang】
1. Concurrent : Two or more events occur at the same time interval
In a single processor system , Only one program can be executed at a time , So microscopically, these programs can only be executed alternately in time . In a multiprocessor system , These programs that can be executed concurrently can be allocated to multiple processors , Implement parallel execution , That is, each processor is used to process a program that can be executed concurrently , such , Multiple programs can be executed at the same time .
2. parallel : Two or more events occur at the same time , Multiple tasks can be performed simultaneously
3. Serial : When referring to multiple tasks , Each task is performed in sequence , You can't move on to the next... Until you finish one
4. Sync : Synchronization is sequential execution , After executing one, execute the next , Need to wait 、 Coordinated operation
5. asynchronous : Asynchrony is independence , Continue to do your own thing while waiting for an event , There is no need to wait for this event to complete , You can follow up . Thread is a way to realize asynchrony , Asynchrony is the ultimate goal , Multithreading is just a means for us to realize asynchrony
边栏推荐
- 华为开发者认证与DevEco Studio编译器下载
- JVM基础
- RN Metro packaging process and sentry code monitoring
- ADB shell CMD overlay debugging command facilitates viewing system framework character resource values
- DLL bit by bit
- MFS详解(七)——MFS客户端与web监控安装配置
- [DP 01 backpack]
- BlockingQueue源码
- After clicking the uniapp e-commerce H5 embedded applet, the page prompts "the page iframe does not support referencing non business domain names"
- 《MATLAB 神经网络43个案例分析》:第10章 离散Hopfield神经网络的分类——高校科研能力评价
猜你喜欢
Intelligent digital asset management helps enterprises win the post epidemic Era
电镀挂具RFID工序管理解决方案
Failed to extract manifest from apk: processexception:%1 is not a valid Win32 Application.
MFS详解(五)——MFS元数据日志服务器安装与配置
App performance test: (III) traffic monitoring
Learning records countless questions (JS)
JVM基础
Recommend a capacity expansion tool to completely solve the problem of insufficient disk space in Disk C and other disks
Relationship between fragment lifecycle and activity
微信小程序:点击事件获取当前设备信息(基础)
随机推荐
Failed to extract manifest from apk: processexception:%1 is not a valid Win32 Application.
Printf function
JVM基础
Detailed explanation of PHP distributed transaction principle
The technical analysis of ERP systems of the two camps in the world has been picked up many times.
杨辉三角形详解
Dragon Boat Festival wellbeing, use blessing words to generate word cloud
Wechat applet custom tabbar (session customer service) vant
JVM Foundation
Echart line chart: multiple line charts show only one line at a time
Waterfall flow layout of uni app Homepage
推荐扩容工具,彻底解决C盘及其它磁盘空间不够的难题
Binary search
Uniapp mobile terminal uses canvas to draw background convex arc
JS to realize bidirectional data binding
Add attributes in storyboard and Xib (fillet, foreground...) Ibinspectable and ibdesignable
Usegeneratedkeys=true configuration
[JS] array flattening
USB debugging assistant (20191028)
Introduction to USB learning (5) -- looking back, the man was in the dim light