ast是什么| 发烧喝什么水| 羊配什么生肖最好| 葡萄糖高是什么意思| 什么的落日| 吃什么能去湿气最好| 什么鬼大家都喜欢| 知了是什么| 男性检查挂什么科| 感冒咳嗽吃什么水果好| 头左边痛是什么原因| 酸笋炒什么好吃| 恩惠什么意思| 人生的意义到底是什么| 国际章是什么意思| 灯火葳蕤是什么意思| 复方新诺明片又叫什么| 又拉肚子又呕吐是什么原因| 198是什么意思| 胃胀挂什么科| 为什么润月| 杏色搭配什么颜色好看| 男士适合戴什么手串| 股骨长径是指胎儿什么| 吃什么能升血小板| 什么的朝霞| 月经来头疼是什么原因引起的| 为什么时间越来越快| 当所有的人离开我的时候是什么歌| 女性阴部痒是什么原因| 佝偻病是什么| 租赁费计入什么科目| 水加人念什么| 标准工资指什么| 反复口腔溃疡是什么病的前兆| 什么时候收复台湾| 肌酐低是什么意思啊| 牙垢是什么| 兰若是什么意思| 冬天可以干什么| 诶是什么意思| 蜈蚣最怕什么药| 嗜碱性粒细胞偏高是什么原因| 圣诞节在什么时候| 多囊什么意思| 尿道口红肿是什么原因| 淋巴细胞是什么意思| 麻醉剂是什么| 血脂是什么意思| 玩是什么意思| 娘子啊哈是什么歌| 手发胀是什么前兆| 西洋参跟花旗参有什么区别| 七月十九是什么星座| 米索前列醇片是什么药| 孕妇吃什么钙片好| 鬼最怕什么东西| 苦海无涯回头是岸是什么意思| 情商低是什么意思| 肌酐高可以吃什么水果| 安乐死是什么| 生性多疑是什么意思| 什么是假性近视眼| 火车和高铁有什么区别| 亲密是什么意思| 毛泽东什么时候死的| 乳腺病人吃什么好| 广西属于什么方向| 住院医师是什么级别| 种植牙为什么那么贵| 立夏什么时候| 戒指中指代表什么意思| 黄芪什么季节喝最好| 对峙什么意思| 海市蜃楼为什么可怕| 肠胃不好适合喝什么茶| 白细胞低是什么原因引起的| 拉肚子什么原因造成的| 傧相是什么意思| 绞肠痧是什么病| 月办念什么| 5月14日什么星座| 油面是什么| 花枝是什么食材| 血糖高有什么影响| 股市pe是什么意思| 他说风雨中这点痛算什么| 高烧用什么方法降温最快| 脑供血不足是什么原因| 气血不足吃什么药最好| 仄言是什么意思| 唱歌有什么好处| 女命劫财代表什么| 坐怀不乱是什么生肖| 舌苔发白是什么原因呢| 脚冰凉是什么原因| 这是什么皮肤病| 湿气重喝什么茶| pr在医学上是什么意思| 九寨沟在什么地方| 白马王子是什么意思| 什么是厌氧菌感染| 儿童肚子疼吃什么药| 无穷大是什么意思| 知柏地黄丸有什么功效| 一直打嗝什么原因| 吃什么东西降尿酸| 维生素h的作用及功能主治是什么| 知了为什么叫| 吃桑葚有什么好处| 偶发房性早搏是什么意思| 投诚是什么意思| 少了一个肾有什么影响| 什么叫大数据| 谁的尾巴有什么作用| mlb是什么牌子| 矢的意思是什么| 阴毛长虱子用什么药| 挂科是什么意思| 今天是什么节日吗| 眼屎多用什么眼药水| 丝状疣是什么样子图片| 倍他乐克是什么药| 支原体感染吃什么食物好| 脾大是怎么回事有什么危害| 手术后吃什么水果| fresh是什么意思| 儿童矮小挂什么科| 市政府办公室主任是什么级别| 什么是乳腺增生| dvf是什么档次的牌子| 严什么什么重| 早上八点是什么时辰| 宫颈醋酸白色上皮是什么病变| 梦见胡萝卜是什么意思| generic是什么意思| 为什么吃火龙果会拉肚子| 事后紧急避孕药什么时候吃有效| 慢性活动性胃炎是什么意思| 刻章需要什么材料| 腈纶是什么面料| qcy是什么牌子| 怀孕初期吃什么蔬菜好| 梦见死去的亲人是什么意思| 初吻是什么意思| hpv阴性是什么意思| 开飞机什么意思| 感染性发热是什么意思| 嫂嫂是什么意思| 唇炎是什么原因引起的| 半身不遂的前兆是什么症状| 红色菜叶的菜是什么菜| 胆红素高吃什么食物能降得快| 黄花是什么花| 老人尿失禁吃什么药最好| oa期刊是什么意思| 三高可以吃什么水果| 低血压适合吃什么食物| 子宫囊肿是什么原因引起的| 内瘘是什么意思| 三元是什么意思| 急性胃炎吃什么药| 脚发麻什么原因| 为什么嘴里发苦| 古井贡酒是什么香型| 信奥是什么| 腺肌症是什么病| 吃激素有什么副作用| 男生纹身纹什么好| cg是什么意思| 梦见黄鼠狼是什么意思| 植物神经是什么| 补肾气吃什么药| 花椰菜是什么菜| 异什么同什么| 靴靴是什么意思| 骨关节炎吃什么药| 宝宝吃益生菌有什么好处和坏处| 为什么睡觉会出汗| 夏季吃什么菜| 蛞蝓是什么意思| 肩膀疼吃什么药| 中二病的意思是什么| 胃幽门螺杆菌有什么症状| 疏是什么意思| 619是什么意思| canon什么牌子| 眼睛总有眼屎是什么原因| 王八和乌龟有什么区别| 广东有什么烟| 谷草谷丙偏高是什么原因| 暗渡陈仓是什么生肖| 营养心脏最好的药是什么药| 今年高温什么时候结束| 雌二醇高说明什么| 孕妇吃鹅蛋有什么好处| 梦见狗打架是什么意思| 专著是什么| 拉姆是什么意思| 怀孕肚子疼是什么原因| 尿素氮偏高是什么原因| 小孩子肚子疼吃什么药| 蓝色小药丸是什么| 宵夜吃什么好| 心梗是什么病| 孕妇缺铁性贫血对胎儿有什么影响| 新生儿黄疸吃什么药| 包的部首是什么| 白芷泡水喝有什么功效| 刺史相当于现在什么官| 女命七杀代表什么| 雷同是什么意思| 脚痒用什么药好| 红豆和什么一起煮比较好| 白带发黄粘稠是什么原因| 疼痛科主要看什么病| ur品牌属于什么档次| 黄原胶是什么| 化验血常规能查出什么| 脱脂牛奶适合什么人喝| bm是什么牌子| 补气血用什么泡水喝| 节哀顺便是什么意思| 榴莲为什么是水果之王| 排卵什么意思| 早晨起来口苦什么原因| 有待提高是什么意思| 包头古代叫什么| 什么路不能走| 山竹吃了有什么好处| 祖师香是什么意思| 不成功便成仁的仁是什么意思| 蝶窦囊肿是什么病| 梦见手机摔碎了是什么意思| 小孩经常吐是什么原因| 2月1日什么星座| 胃胀是什么感觉| 内胆是什么意思| 四大是什么| 肝脏彩超能检查出什么| 7月属什么生肖| 血糖高适合吃什么零食| 血糖高应该吃什么水果| 右肺上叶为什么恶性多| 西咪替丁是什么药| 247是什么意思| 五行缺什么怎么查询| 为什么腹部隐隐作痛| mlf是什么意思| 水代表什么生肖| 什么是细胞| 衣服最小码是什么字母| 鼻窦炎是什么病| 吃什么促进卵泡发育| 什么危不什么| 猛虎下山是什么生肖| 带状疱疹是什么病| 夸瓜读什么| 什么炖鸡好吃| 热退疹出是什么病| 婵字五行属什么| 3月21是什么星座| 肛周脓肿是什么原因引起的| 儿童发育迟缓挂什么科| 百度
百度 本来备受期待地一场大战,可以说结束得实在太快了。

SCOOP (Simple Concurrent Object Oriented Programming) is a concurrency model designed for the Eiffel programming language, conceived by Eiffel's creator and designer, Bertrand Meyer.

SCOOP defines a way for an object oriented program to be written without the concept of threads, locks, or other typical multiprogramming methods. This allows the compiler or runtime environment to optimize the amount of concurrency as well as eliminate typical design flaws such as deadlock.

The model was first designed in the early 1990s and published in 1993 in the Communications of the ACM[1] An updated version was described in chapter 30 of the book Object-Oriented Software Construction.[2] A prototype implementation was developed in 1995 by Eiffel Software. An article by Compton and Walker[3] provides an overview of SCOOP and describes another early implementation. Nienaltowski, Arslan and Meyer have published a description of the model as of 2003.[4] Work on SCOOP proceeded at the Chair of Software Engineering at ETH Zurich.[5] SCOOP became available as a standard part of EiffelStudio early in 2011.[6]

Technical overview

edit

SCOOP works by allowing references to certain objects to be declared as separate. In the code below, an entity local_inventory is declared as a separate type, by specifying the Eiffel language keyword separate in the declaration.

    local_inventory: separate INVENTORY

A separate object may be handled by a SCOOP processor that is different from the processor handling the referencing object. A SCOOP processor is the abstract notion of an autonomous thread of control that handles the execution of operations on one or more objects. SCOOP processors are independent of underlying concurrency mechanisms like processor threads, multiple processor cores, and distributed computer systems.

In addition to the concept of separateness, SCOOP exploits the principles of design by contract as part of the SCOOP strategy for synchronizing access to shared separate resources. For example, a precondition for a consumer wishing to access an item in the inventory example above, might be that such an item does currently exist. This would be expressed with a contract on the feature of class INVENTORY which returns the item.

    item: PRODUCT
        -- Current item
    require
        inventory_has_item: has_item

In traditional, sequential processing, a client intending to call local_inventory.item would be responsible for making certain that the precondition local_inventory.has_item holds before making the call. If the call to item were made in a state in which has_item did not hold, the caller would incur a precondition violation exception.

In the presence of SCOOP and given the separateness of local_inventory, making the check on has_item before calling item would not be reliable. This is because the state of local_inventory could have been changed by requests from other SCOOP processors between the time that the check was made and the time that item could be called.

As a result, when SCOOP is enabled, the precondition has_item is transformed from a correctness condition, which will cause an exception in the case of a violation, to a wait condition. The wait condition will cause the execution of item to be delayed until such time as has_item holds. In the Eiffel Software implementation, if SCOOP is not enabled, the separate keyword is ignored and sequential processing is assumed.

See also

edit

References

edit
  1. ^ Bertrand Meyer: Systematic Concurrent Object-Oriented Programming, in Communications of the ACM, 36, 9, September 1993, pp. 56-80, also available online.
  2. ^ Bertrand Meyer: Object-Oriented Software Construction, 2nd edition, Prentice Hall, 1997
  3. ^ Compton, Michael; Walker, Richard (2002). "A Run-time System for SCOOP". Journal of Object Technology. 1 (3): 119–157. doi:10.5381/jot.2002.1.3.a8.
  4. ^ Nienaltowski, P.; Arslan, V.; Meyer, B. (2003). "Concurrent object-oriented programming on .NET" (PDF). IEE Proceedings - Software. 150 (5): 308. doi:10.1049/ip-sen:20030992 (inactive 12 July 2025).{{cite journal}}: CS1 maint: DOI inactive as of July 2025 (link)
  5. ^ ETH Zurich, Chair of Software Engineering: SCOOP project page
  6. ^ Eiffel Software: SCOOP: Concurrency for Eiffel
edit
天蝎座是什么星座 白蚂蚁长什么样子图片 经常吃豆腐有什么好处和坏处 缺铁性贫血吃什么水果 才字五行属什么
虾腹部的黑线是什么 腹部超声检查什么 吃什么调理卵巢早衰 什么东西放进去是硬的拿出来是软的 为什么会得甲减
鬼迷日眼是什么意思 日新月异是什么意思 上海市长什么级别 小孩肚子疼是什么原因引起的 h7n9是什么病毒
企业hr是什么意思 秦朝为什么那么快灭亡 sla是什么意思 木梳子梳头有什么好处 胎儿腿短是什么原因
美版苹果和国行有什么区别hcv7jop9ns0r.cn 欢喜冤家是什么意思luyiluode.com fe是什么元素hcv8jop8ns0r.cn 经常失眠是什么原因hcv9jop6ns4r.cn 苹果什么时候吃最好hcv7jop7ns0r.cn
188是什么意思hcv7jop7ns2r.cn 出现血精吃什么药hcv8jop1ns3r.cn 中二病是什么hcv7jop9ns3r.cn 吃什么能变胖hcv8jop2ns4r.cn 厚黑学是什么意思cj623037.com
江团鱼是什么鱼hcv9jop7ns4r.cn 什么蚂蚁有毒hcv7jop6ns1r.cn 什么时候喝牛奶效果最佳xianpinbao.com 咳嗽有白痰吃什么药最好hcv9jop0ns1r.cn 肿瘤最怕什么hcv8jop7ns2r.cn
阿昔洛韦乳膏治什么hcv8jop0ns4r.cn 支队长是什么级别hcv9jop6ns9r.cn 不想长胡子有什么办法hcv8jop2ns3r.cn 浑身没劲是什么原因0297y7.com 嘴唇有黑斑是什么病hcv9jop0ns5r.cn
百度