当前位置:网站首页>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
边栏推荐
- Add attributes in storyboard and Xib (fillet, foreground...) Ibinspectable and ibdesignable
- USB debugging assistant
- 微信小程序:基础复习
- 线程池学习
- Using the shutter floor database framework
- Echart柱状图:堆叠柱状图value格式化显示
- Applet export (use) public function, public data
- Uniapp (upload local pictures, preview pictures, convert Base64 format, upload audio files)
- [JS] handwriting call(), apply(), bind()
- Swift--function
猜你喜欢

本地文件秒搜工具 Everything

MFS详解(七)——MFS客户端与web监控安装配置

【ONE·Data || 带头双向循环链表简单实现】

万能播放器 PotPlayer 的下载与安装,直播流 m3u8 导入

Download and installation of universal player potplayer, live stream m3u8 import

RN Metro packaging process and sentry code monitoring

欧姆龙平替国产大货—JY-V640半导体晶元盒读写器

1+1>2,Share Creators可以帮助您实现

Echart rectangular tree diagram: simple implementation of rectangular tree diagram

Binary search
随机推荐
Recommend a capacity expansion tool to completely solve the problem of insufficient disk space in Disk C and other disks
App performance test: (II) CPU
The technical analysis of ERP systems of the two camps in the world has been picked up many times.
本地文件秒搜工具 Everything
自定义View
Wechat applet custom tabbar (session customer service) vant
Relationship between fragment lifecycle and activity
Dart class inherits and implements mixed operators
Uniapp mobile terminal uses canvas to draw background convex arc
ADB shell CMD overlay debugging command facilitates viewing system framework character resource values
Data conversion analysis tool
Echart line chart: multiple line charts show only one line at a time
《MATLAB 神经网络43个案例分析》:第10章 离散Hopfield神经网络的分类——高校科研能力评价
【var const let区别】
Wechat applet (get location)
Super model logo online design and production tool
Waterfall flow layout of uni app Homepage
Uniapp dynamically shows / hides the navigation bar return button
智能数字资产管理助力企业决胜后疫情时代
[JS] array flattening