首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >JMM中的执行定义

JMM中的执行定义
EN

Stack Overflow用户
提问于 2014-09-22 10:55:24
回答 1查看 103关注 0票数 0

执行E由元组< P、A、po、so、W、V、sw、hb >描述,包括:

代码语言:javascript
复制
P - a program

A - a set of actions

po - program order, which for each thread t, is a total order over all actions performed by t in A

so - synchronization order, which is a total order over all synchronization actions in A

W - a write-seen function, which for each read r in A, gives W(r), the write action seen by r in E.

V - a value-written function, which for each write w in A, gives V(w), the value written by w in E.

sw - synchronizes-with, a partial order over synchronization actions

hb - happens-before, a partial order over actions

这套行动是什么?该定义是否与专门化线程t有关?或者一个覆盖所有线程,哪个程序启动?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-09-22 12:03:57

在元组E中,A是程序P的执行所提交的所有线程间操作的集合。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25972394

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档