当前位置:网站首页>What is the difference between concurrency and parallelism?
What is the difference between concurrency and parallelism?
2022-06-24 00:01:00 【The fifth brother of the Wang family】
Concurrent : Two or more events occur at the same time interval .
parallel : Two or more events occur at the same time .
Parallelism is really , Do many things at the same time , Concurrency can only do one event at a time , It's just that you can chop up time , Do many things alternately .
There is an example on the Internet, which is very vivid :
You eat half of your meal , Here's the phone , You don't pick up until you've finished eating , This means that you don't support concurrency or parallelism .
You eat half of your meal , Here's the phone , You stop and answer the phone , After that, continue to eat , This means that you support concurrency .
You eat half of your meal , Here's the phone , You're eating while you're on the phone , This shows that you support parallel .
边栏推荐
- Three cool and coquettish bottom navigation
- 2. camera calibration
- List<? extends T>和List<?super T>区别
- 解决项目依赖报红问题
- 不同物体使用同一材质,有不同的表现
- SQL Server 中 GO 的用法
- Web site SSL certificate
- Digital property management has become a trend. How can traditional property companies achieve digital butterfly change through transformation?
- 复原IP地址[标准回溯+标准剪枝]
- Loop caused by add of sublist in list
猜你喜欢

Startup process analysis of APP performance optimization

List<? extends T>和List<?super T>区别

6月25日PMP考试敏捷怎么考?替你分忧解难

fatal: The upstream branch of your current branch does not match the name of your current branch.
![[proteus simulation] example of T6963C driving pg12864 (with Chinese and English display)](/img/e7/d36750c729b76f18418589356706f1.png)
[proteus simulation] example of T6963C driving pg12864 (with Chinese and English display)

Application of acrel-3000web power management system in Duba Expressway

解决项目依赖报红问题

混沌工程,了解一下

What are the good solutions for industrial control safety of production line

开口式霍尔电流传感器助力直流配电改造
随机推荐
1004. number of maximum consecutive 1 III ●●
跟着CTF-wiki学pwn——ret2text
Cloud native architecture (05) - Application Architecture Evolution
微信小程序中three.js的canvas非全屏情况下射线检测不准确问题解决方案
迷茫的测试/开发程序员,不同人有着不同的故事、有着不同的迷茫......
SAVE: 软件分析验证和测试平台
2.摄像机标定
docker redis集群配置
Loop caused by add of sublist in list
I was cheated by my colleagues to work overtime on weekends. I haven't seen redis used like this...
生成所有可能的二叉搜索树
[technical grass planting] the tail of the "double 11" event. Let's talk about how much discount the message push service package is!
逆向工具IDA、GDB使用
工作中一些常用的工具函数
Digital supply chain management system for metallurgical industry: platform lean enterprise management to help the high-quality development of the industry
日化用品行业集团采购管理系统改变传统采购模式,降低采购成本
UART协议时序总结
matlab实现对图像批量重命名
抖音实战~密码找回
Batch renaming of images by MATLAB