同样的 ,多线程也存在许多缺点 ,在考虑多线程时需要进行充分的考虑。

多线程的主要缺点包括:Similarly, multi thread also has many shortcomings, in the consideration of the need for the full consideration of multiple threads. The main disadvantages of multi threading include:(1)等候使用共享资源时造成程序的运行速度变慢。

这些共享资源主要是独占性的资源 ,如打印机等。

(1) waiting for the use of shared resources, the running speed of the program is slow. These shared resources are exclusive resources, such as printers, etc..(2)对线程进行管理要求额外的 CPU开销。

线程的使用会给系统带来上下文切换的额外负担。

当这种负担超过一定程度时,多线程的特点主要表现在其缺点上,比如用独立的线程来更新数组内每个元素。

(2) an additional CPU overhead is required for the thread management. The use of threads will give the system the additional burden of context switching. When the load exceeds a certain level, the characteristics of multi thread are mainly expressed in its disadvantages, such as using independent thread to update each element in the array.(3)线程的死锁。

即较长时间的等待或资源竞争以及死锁等多线程症状。

(3) deadlock of thread. That is, waiting for a longer period of time to wait or resource competition and deadlock and other multi thread symptoms.(4)对公有变量的同时读或写。

当多个线程需要对公有变量进行写操作时,后一个线程往往会修改掉前一个线程存放的数据,从而使前一个线程的参数被修改;另外 ,当公用变量的读写操作是非原子性时,在不同的机器上,中断时间的不确定性,会导致数据在一个线程内的操作产生错误,从而产生莫名其妙的错误,而这种错误是程序员无法预知的(4) at the same time, read or write to the public variable. When multiple threads need to write operation to the public variable, a thread tend to modify off before a thread storage data, so that a thread parameters are modified; in addition, when public variable read and write operations are non atomic, on different machines, interrupt time of uncertainty, lead to the data in a thread operation generated errors, resulting in inexplicable error, and this error is unpredictable programmer

计算机英语第六单元,计算机专业英语第六版第十单元课后汉译英,We do use other forms....这个do...相关推荐

  1. 计算机专业英语1500词TXT,电脑专业英语1500词

    1001. tool n. 工具,刀       1002. handler n. 处理程序       1003. processor n. 处理机,处理程序       1004. desktop ...

  2. 计算机软考英语题翻译,软考专业英语真题、译文及答案.docx

    软考专业英语真题.译文及答案 09上半年软件设计师英文真题.译文及答案 For nearly ten years, the Unified Modeling Language (UML) has be ...

  3. 昆明理工大学计算机技术英语翻译,昆明理工大学自动化专业英语翻译学习指导书.ppt...

    昆明理工大学自动化专业英语翻译学习指导书 机电或自动化专业英语 Specialized English for Electromechanization (Electro-Mechanism) Con ...

  4. 计算机数控机床用英语怎么说,数控机床专业英语翻译.doc

    数控机床专业英语翻译 数控机床板料成形铣削加工概念 J.Kopac和Z.Kampus 机械工程专业,卢布尔雅那大学,A?kerceva6, 1000斯洛文尼亚,电子邮件:janez.kopac@fs. ...

  5. wf 《计算机专业英语》,IE(Industrial Engineer)专业英语

    Facilities Design and Planning设施规划与设计 Material Flow System Analysis物流系统分析 Production Planning and Co ...

  6. 华东理工大学计算机专业英语,化学工程与工艺专业英语翻译(华东理工大学_最完整版本).pdf...

    Unit 1 Chemical Industry 化学工业 Before reading the text below, try to answer following question: 1. Wh ...

  7. 考研英语核心词汇辨析(黑魔方系列2007版之十二)

    revolve, evolve, involve revolve v.旋转,转动. The room began to revolve , then he fainted.屋子开始旋转,然后他就昏倒了 ...

  8. 计算机专业英语的特点 1,计算机专业英语的的一些特点.doc

    计算机专业英语的的一些特点 计算机专业英语的一些特点 1 引言 计算机专业英语是各个层次的计算机类专业的必修课,是大学英语教学的延伸和提高,也是学生大学期间英语不断线教育中非常重要的一环.由于计算机学 ...

  9. 浅析计算机专业英语的论文,浅析计算机专业英语的特点

    浅析计算机专业英语的特点 来源: 作者: [字体:大 中 小] 摘  要  阐述了计算机专业英语的特点,结合教学研究与实践,总结了计算机专业英语的教学经验,包括课程内容的选定.教学进度.多样化的教学方 ...

最新文章

  1. 2021年大数据HBase(四):HBase的相关操作-客户端命令式!【建议收藏】
  2. 【坑爹升级】更新NVIDIA GeForce GTX Ti最新驱动,突然屏幕亮瞎我24K钛合金双眼。导致Fn+F2/F3、win+x无法控制笔记本电脑显示器亮度调整, 电源选项屏幕亮度也不见了!
  3. 关于“让我们基于Node.js创建一个Web应用:记事本(三)”
  4. mysql空密码php_WAMP中如何修改mysql默认空密码_MySQL
  5. (转) mysqldumpslow使用说明总结
  6. 对计算机网络的父亲,父亲节朋友圈对老爸说的话 写给父亲催泪的话简短
  7. CCNP学习笔记15-RSTP
  8. cxf环境搭建与第一个项目
  9. flume学习-含安装
  10. Cluster - LB - haproxy
  11. Centos:更换为网易镜像源
  12. 对联广告html,Js对联广告代码示例(入门)
  13. scrapy爬虫之贝壳房产信息
  14. 绘制附带 AHT20 温湿度传感器的 stm32 电路原理图
  15. 微信 语音识别_微信语音识别_微信语音识别api - 云+社区 - 腾讯云
  16. echartes 柱状图 每跟柱子之间互不关联
  17. 深度评测阿里云、腾讯云和华为云
  18. 甘特图:有效的项目管理计划怎么制定?
  19. 常见的的水生植物图像
  20. 天猫精灵 python 控制_树莓派4B小爱同学、天猫精灵、智能音箱、百度语音极速版、百度语音标准版、语音识别、语音合成终极方案...

热门文章

  1. 计算机应用于材料组织结构检测,计算机在材料检测中的应用
  2. 详细设计说明书示例_专利说明书常用句型汇总
  3. aes密文长度_RSA加密密文可变(一句话说明)
  4. threejs- z-fighting 问题
  5. python源码编译 mingw_在windows上用gcc(mingw32)从命令行编译Cython扩展
  6. Linux下rgmii接口与fpga相连,FPGA控制RGMII接口PHY芯片88E1512网络通信
  7. mysql主从进行扩展_Mysql主从知识扩展部分1
  8. asterisk版本选择
  9. autoconf常用宏
  10. vue打包代码反编译_Android逆向反编译代码注入APK过程思路分析