命门是什么意思| 重孝是什么意思| 美国为什么不打朝鲜| 为什么会反胃想吐| 切除子宫对身体有什么伤害| 爱拍马屁的动物是什么生肖| 母仪天下什么意思| 帅t是什么意思| 可拉明又叫什么| 震颤是什么病| 陪伴是最长情的告白下一句是什么| 无期徒刑什么意思| 越描越黑是什么意思| 天井是什么| 阳痿是什么意思| ch什么意思| 黄子韬爸爸是干什么的| 甙是什么意思| 鲨鱼用什么呼吸| 什么人容易得骨髓瘤| 口臭口干口苦是什么原因| 罗红霉素胶囊治什么病| 入伏天是什么意思| 身体欠佳什么意思| 脑供血不足做什么检查| 撸什么意思| 蜂蜜水什么时候喝比较好| e是什么单位| 一什么笑声| 滑膜炎用什么药治疗最好最快| 脑血管痉挛是什么原因引起的| 猪肝炒什么好吃| 他喵的什么意思| 口角炎吃什么药| 眼袋肿了是什么原因| 旁风草长什么样| 子宫前位和子宫后位有什么区别| 虫合读什么| 苯中毒是什么症状| 隋炀帝叫什么名字| 闷骚男是什么意思| 天蝎座女和什么星座最配| 缺维生素d吃什么| 乳房边缘疼是什么原因| hsv是什么| 充电宝100wh是什么意思| 认知障碍是什么病| 中成药是什么| 耳石症是什么症状| 低gi是什么意思| ab型和a型生的孩子是什么血型| 扁桃体发炎用什么药| 布病是什么病| 心字底的字与什么有关| 房颤什么意思| ddg是什么意思| 鱼周念什么| 大便变黑是什么原因| 我的部首是什么| 孩子出汗多是什么原因| 偷梁换柱是什么意思| 隐疾是什么意思| 舌苔很白是什么原因| 裙裤适合什么人穿| 足银是什么意思| 便溏是什么原因引起的| 1211是什么星座| 青年节是什么生肖| 外阴白斑瘙痒抹什么药| 狗女配什么属相最好| 辽宁舰舰长是什么军衔| 打狂犬疫苗后注意什么| 小叶增生吃什么药| 好马不吃回头草什么意思| 胳膊脱臼什么症状| 九月十七日是什么星座| 有什么别有病| 牙龈萎缩吃什么药见效快| 上坟可以带什么水果| 肚脐眼周围是什么器官| 止汗药什么最好| 手臂酸痛什么原因| 长期服用优甲乐有什么副作用| 肚脐眼周围是什么器官| 酌情是什么意思| 肚脐周围是什么肠| 黑芝麻不能和什么一起吃| 办港澳通行证需要带什么| 香蕉为什么是弯的| 玩票是什么意思| 结膜炎用什么眼药水好| 男生喜欢女生有什么表现| 脾虚湿气重吃什么中成药| 速战速决的意思是什么| 请婚假需要什么材料| 菊花茶适合什么人喝| 踏青是什么意思| 伤风败俗是什么意思| 小蜗牛吃什么| 乇是什么意思| 什么头什么颈| 121什么意思| 劳改是什么意思| 氯雷他定为什么比西替利嗪贵| sm是什么| 滇红属于什么茶| 10月5日什么星座| 宫腔内无回声区是什么意思| 女生两个月没来月经是什么原因| 尿常规粘液丝高是什么意思| 腹部胀痛什么原因| 北京立冬吃什么| 蜂蜜和柠檬一起喝有什么作用| 榨菜是什么菜做的| 卵巢囊性结构是什么| 子宫肌瘤都有什么症状| 心口痛是什么原因引起的| 肾盂分离是什么意思| 胆囊炎有什么症状表现| 什么情况下会猝死| 什么是特殊膳食| k金是什么| Preparing什么意思| 擦枪走火什么意思| 有机什么意思| 方脸适合什么刘海| 眉毛浓的男人代表什么| 睡觉起来嘴巴苦是什么原因| 产成品是什么意思| 什么是党的性质和宗旨的体现| 大便出血是什么原因引起的| 备孕叶酸什么时候吃最好| 呃逆吃什么药| 乳腺钙化是什么意思啊| 门第是什么意思| 葬爱家族是什么意思| 五花大绑是什么意思| 大疱病是什么病| 司长是什么级别的官| 伤口感染化脓用什么药| 杨玉环属什么生肖| 秋收冬藏是什么生肖| 节节草有什么作用| 复方阿胶浆适合什么样的人喝| 息肉是什么原因引起的| 右手无名指戴戒指是什么意思| 月经后期是什么意思| 什么是ps| 爱好是什么意思| 罗马布是什么面料| 四月23日是什么星座| 茄子炒什么好吃| 倒着走路有什么好处| 颈椎看什么科| 巴马汤泡脚有什么功效| 煮黑豆吃有什么功效| 吃杨梅有什么好处和功效| 本来无一物何处惹尘埃什么意思| 老年人流鼻血是什么原因| 失眠可以吃什么药| 985211大学是什么意思| 胃得宁又叫什么名字| 霸天虎和威震天是什么关系| 乳腺结节看什么科| 五月二十一是什么星座| 大暑是什么意思啊| 工匠精神是什么| 甲亢是一种什么病严重吗| 10岁属什么| 成佛是什么意思| 史迪仔是什么动物| hpv51阳性是什么意思| 佛法是什么意思| 乳房硬块疼是什么原因| 温文尔雅是什么意思| 一直打嗝是什么问题| 内分泌紊乱吃什么药| 女生是什么意思| 血小板偏低是什么意思| 衣钵是什么意思| 月经前一周失眠是什么原因| 走之旁与什么有关| 老年人喝什么牛奶好| 色即是空是什么意思| 代价是什么意思| 霜对什么| 唐朝为什么灭亡| 半夜容易醒是什么原因| 一飞冲天是什么生肖| 万宝龙属于什么档次| 宁波有什么特产| 梅尼埃综合症是什么病| 呼吸不过来要喘大气是什么情况| 恳请是什么意思| 仰天长叹的意思是什么| zn什么意思| 减肥吃什么玉米| 什么颜色不显黑| 2h是什么意思| 为什么乳头会痒| 5月28是什么星座| 抽烟为什么会上瘾| 胃酸吃什么能马上缓解| 沙肝是什么| 蜜饯是什么意思| 杏鲍菇不能和什么一起吃| 三月初九是什么星座| 阴囊潮湿是什么原因| 电焊打眼睛用什么眼药水| 丽珠兰是什么| 已是什么生肖| 卵巢囊性暗区是什么意思| 痛风吃什么药治疗最有效| hyper是什么意思| molly英文名什么意思| 万马奔腾是什么意思| 流产后不能吃什么东西| 惨不忍睹是什么意思| 土土念什么| 黑户是什么| 本命年为什么不能结婚| 无异于是什么意思| 空灵是什么意思| 什么茶能去体内湿气| 七月十三号是什么星座| 医生停诊是什么意思| 间接喉镜检查能检查出什么| 什么叫出柜| 午夜梦回是什么意思| 头汗多是什么原因引起的| 药剂科是干什么的| 梦见捉黄鳝是什么意思| 男人为什么喜欢女人| 天线宝宝都叫什么名字| 是非是什么意思| 血象是指什么| 手上十个簸箕代表什么| 祈福是什么意思| 安慰是什么意思| 三焦是什么器官| 有才是什么意思| 容易长痣是什么原因| 2025是什么生肖年| 丹字五行属什么| 肋骨断了是什么感觉| 世界上最坚硬的东西是什么| 未见胎芽是什么意思| 口干舌燥喝水也不解渴是什么原因| 肚脐眼疼是什么原因| 女人胆固醇高什么原因| 螃蟹的血是什么颜色的| ts是什么品牌| 胃胀反酸吃什么药| er是什么意思| 痢疾是什么原因引起的| 好梦是什么意思| 祖宗是什么意思| 晚上做梦掉牙有什么预兆| 晚上睡觉小腿抽筋是什么原因| 有什么无什么的成语| 见字五行属什么| 下嘴唇跳动是什么原因| 草口耳是什么字| 虫草是什么| 百度Jump to content

车讯:2016广州车展探馆:YARiS L 致炫三厢版

From Wikipedia, the free encyclopedia
百度 这一关切说明了中国对于全球石油市场的影响力已经变得多么重要。

Concurrency refers to the ability of a system to execute multiple tasks through simultaneous execution or time-sharing (context switching), sharing resources and managing interactions. Concurrency improves responsiveness, throughput, and scalability in modern computing, including: [1][2][3][4][5]

[edit]

Concurrency is a broader concept that encompasses several related ideas, including: [1][2][3][4][5]

  • Parallelism (simultaneous execution on multiple processing units). Parallelism executes tasks independently on multiple CPU cores. Concurrency allows for multiple threads of control at the program level, which can use parallelism or time-slicing to perform these tasks. Programs may exhibit parallelism only, concurrency only, both parallelism and concurrency, neither. [6]
  • Multi-threading and multi-processing (shared system resources)
  • Synchronization (coordinating access to shared resources)
  • Coordination (managing interactions between concurrent tasks)
  • Concurrency Control (ensuring data consistency and integrity)
  • Inter-process Communication (IPC, facilitating information exchange)

Issues

[edit]

Because computations in a concurrent system can interact with each other while being executed, the number of possible execution paths in the system can be extremely large, and the resulting outcome can be indeterminate. Concurrent use of shared resources can be a source of indeterminacy leading to issues such as deadlocks, and resource starvation.[7]

Design of concurrent systems often entails finding reliable techniques for coordinating their execution, data exchange, memory allocation, and execution scheduling to minimize response time and maximise throughput.[8]

Theory

[edit]

Concurrency theory has been an active field of research in theoretical computer science. One of the first proposals was Carl Adam Petri's seminal work on Petri nets in the early 1960s. In the years since, a wide variety of formalisms have been developed for modeling and reasoning about concurrency.

Models

[edit]

A number of formalisms for modeling and understanding concurrent systems have been developed, including:[9]

Some of these models of concurrency are primarily intended to support reasoning and specification, while others can be used through the entire development cycle, including design, implementation, proof, testing and simulation of concurrent systems. Some of these are based on message passing, while others have different mechanisms for concurrency.

The proliferation of different models of concurrency has motivated some researchers to develop ways to unify these different theoretical models. For example, Lee and Sangiovanni-Vincentelli have demonstrated that a so-called "tagged-signal" model can be used to provide a common framework for defining the denotational semantics of a variety of different models of concurrency,[11] while Nielsen, Sassone, and Winskel have demonstrated that category theory can be used to provide a similar unified understanding of different models.[12]

The Concurrency Representation Theorem in the actor model provides a fairly general way to represent concurrent systems that are closed in the sense that they do not receive communications from outside. (Other concurrency systems, e.g., process calculi can be modeled in the actor model using a two-phase commit protocol.[13]) The mathematical denotation denoted by a closed system S is constructed increasingly better approximations from an initial behavior called S using a behavior approximating function progressionS to construct a denotation (meaning ) for S as follows:[14]

DenoteS ≡ ?i∈ω progressionSi(⊥S)

In this way, S can be mathematically characterized in terms of all its possible behaviors.

Logics

[edit]

Various types of temporal logic[15] can be used to help reason about concurrent systems. Some of these logics, such as linear temporal logic and computation tree logic, allow assertions to be made about the sequences of states that a concurrent system can pass through. Others, such as action computational tree logic, Hennessy–Milner logic, and Lamport's temporal logic of actions, build their assertions from sequences of actions (changes in state). The principal application of these logics is in writing specifications for concurrent systems.[7]

Practice

[edit]

Concurrent programming encompasses programming languages and algorithms used to implement concurrent systems. Concurrent programming is usually considered[by whom?] to be more general than parallel programming because it can involve arbitrary and dynamic patterns of communication and interaction, whereas parallel systems generally[according to whom?] have a predefined and well-structured communications pattern. The base goals of concurrent programming include correctness, performance and robustness. Concurrent systems such as Operating systems and Database management systems are generally designed[by whom?] to operate indefinitely, including automatic recovery from failure, and not terminate unexpectedly (see Concurrency control). Some[example needed] concurrent systems implement a form of transparent concurrency, in which concurrent computational entities may compete for and share a single resource, but the complexities of this competition and sharing are shielded from the programmer.

Because they use shared resources, concurrent systems in general[according to whom?] require the inclusion of some[example needed] kind of arbiter somewhere in their implementation (often in the underlying hardware), to control access to those resources. The use of arbiters introduces the possibility of indeterminacy in concurrent computation which has major implications for practice including correctness and performance. For example, arbitration introduces unbounded nondeterminism which raises issues with model checking because it causes explosion in the state space and can even cause models to have an infinite number of states.

Some concurrent programming models include coprocesses and deterministic concurrency. In these models, threads of control explicitly yield their timeslices, either to the system or to another process.

See also

[edit]

References

[edit]
  1. ^ a b Operating System Concepts. Wiley. 29 July 2008. ISBN 978-0470128725.
  2. ^ a b Computer Organization and Design: The Hardware/Software Interface. The Morgan Kaufmann Series in Computer Architecture and Design. Morgan Kaufmann. 2012. ISBN 978-0123747501.
  3. ^ a b Distributed Systems: Concepts and Design. Pearson. 2012. ISBN 978-0132143011.
  4. ^ a b Quinn, Michael Jay (1994). Parallel Computing: Theory and Practice. McGraw-Hill. ISBN 978-0070512948.
  5. ^ a b Zomaya, Albert Y. (1996). Parallel and Distributed Computing Handbook. McGraw Hill Professional. ISBN 978-0070730205.
  6. ^ Parallel and Concurrent Programming in Haskell. O'Reilly Media. 2013. ISBN 9781449335922.
  7. ^ a b Cleaveland, Rance; Scott Smolka (December 1996). "Strategic Directions in Concurrency Research". ACM Computing Surveys. 28 (4): 607. doi:10.1145/242223.242252. S2CID 13264261.
  8. ^ Campbell, Colin; Johnson, Ralph; Miller, Ade; Toub, Stephen (August 2010). Parallel Programming with Microsoft .NET. Microsoft Press. ISBN 978-0-7356-5159-3.
  9. ^ Filman, Robert; Daniel Friedman (1984). Coordinated Computing - Tools and Techniques for Distributed Software. McGraw-Hill. ISBN 978-0-07-022439-1.
  10. ^ Keller, J?rg; Christoph Ke?ler; Jesper Tr?ff (2001). Practical PRAM Programming. John Wiley and Sons.
  11. ^ Lee, Edward; Alberto Sangiovanni-Vincentelli (December 1998). "A Framework for Comparing Models of Computation" (PDF). IEEE Transactions on CAD. 17 (12): 1217–1229. doi:10.1109/43.736561.
  12. ^ Mogens Nielsen; Vladimiro Sassone; Glynn Winskel (1993). "Relationships Between Models of Concurrency". REX School/Symposium.
  13. ^ Frederick Knabe. A Distributed Protocol for Channel-Based Communication with Choice PARLE 1992.
  14. ^ William Clinger (June 1981). "Foundations of Actor Semantics". Mathematics Doctoral Dissertation. MIT. hdl:1721.1/6935. {{cite journal}}: Cite journal requires |journal= (help)
  15. ^ Roscoe, Colin (2001). Modal and Temporal Properties of Processes. Springer. ISBN 978-0-387-98717-0.

Further reading

[edit]
  • Lynch, Nancy A. (1996). Distributed Algorithms. Morgan Kaufmann. ISBN 978-1-55860-348-6.
  • Tanenbaum, Andrew S.; Van Steen, Maarten (2002). Distributed Systems: Principles and Paradigms. Prentice Hall. ISBN 978-0-13-088893-8.
  • Kurki-Suonio, Reino (2005). A Practical Theory of Reactive Systems. Springer. ISBN 978-3-540-23342-8.
  • Garg, Vijay K. (2002). Elements of Distributed Computing. Wiley-IEEE Press. ISBN 978-0-471-03600-5.
  • Magee, Jeff; Kramer, Jeff (2006). Concurrency: State Models and Java Programming. Wiley. ISBN 978-0-470-09355-9.
  • Distefano, S., & Bruneo, D. (2015). Quantitative assessments of distributed systems: Methodologies and techniques (1st ed.). Somerset: John Wiley & Sons Inc.ISBN 9781119131144
  • Bhattacharyya, S. S. (2013;2014;). Handbook of signal processing systems (Second;2;2nd 2013; ed.). New York, NY: Springer.10.1007/978-1-4614-6859-2 ISBN 9781461468592
  • Wolter, K. (2012;2014;). Resilience assessment and evaluation of computing systems (1. Aufl.;1; ed.). London;Berlin;: Springer. ISBN 9783642290329
[edit]
99属什么生肖 电轴右偏是什么意思 什么手机信号最好最强 吃什么会死 朱迅和朱军是什么关系
孕妇快生的时候有什么征兆 孕妇过敏性鼻炎可以用什么药 玉米什么时候传入中国 5月10号是什么星座 肾萎缩吃什么药好
胆囊息肉不能吃什么 梦见自己搬家是什么意思 gtp什么意思 苏打水喝了有什么好处 品鉴是什么意思
进国企需要什么条件 少一个肾有什么影响 舌头干是什么原因 后背疼去医院挂什么科 血清谷丙转氨酶偏高是什么意思
梦到自己掉头发是什么预兆hcv9jop2ns1r.cn 淋病是什么病hcv9jop4ns8r.cn 两性是什么意思hcv8jop7ns3r.cn 甘露醇有什么作用hcv9jop7ns4r.cn 调理牛肉是什么意思hcv8jop1ns9r.cn
hibor是什么意思hcv7jop9ns9r.cn 为什么饿的很快hcv9jop8ns1r.cn 精子像果冻是什么原因hebeidezhi.com 固精缩尿是什么意思hcv8jop3ns9r.cn 田鸡是什么hcv8jop0ns8r.cn
女人喝什么茶叶最好hcv8jop9ns9r.cn 犯太岁是什么意思啊hcv8jop2ns3r.cn 为什么不一样ff14chat.com 玫瑰糠疹用什么药hcv9jop8ns2r.cn 善存什么时间吃比较好hcv8jop9ns1r.cn
切莫是什么意思zhongyiyatai.com 陈世美是什么样的人hcv8jop9ns4r.cn 象代表什么生肖hcv8jop3ns1r.cn 经常流眼泪是什么原因wmyky.com 佛珠生菇讲述什么道理hcv9jop1ns5r.cn
百度