忙里偷闲

很多事情很多心情写了也就记下了; 不写,以后可能就忘了.
个人资料
正文

Incompatible program

(2011-04-26 18:56:01) 下一个

When a concurrent program is incompatible with another program, the two programs cannot access or update the same data simultaneously.

When we define a concurrent program, we can list those programs we want it to be incompatible with. We can also list the program as incompatible with itself, which means that two instances of the program cannot run simultaneously.

We can also make a program incompatible with all other concurrent programs by defining the program to be run-alone.

There are two types of program incompatibilities, "Global" incompatibilities, and "Domain-specific" incompatibilities.

We can define a concurrent program to be globally incompatible with another program -- that is, the two programs cannot be run simultaneously at all; or we can define a concurrent program to be incompatible with another program in a Conflict Domain. Conflict domains are abstract representations of groups of data. They can correspond to

other group identifiers, such as sets of books, or they can be arbitrary.





[ 打印 ]
阅读 ()评论 (2)
评论
平安是福mtl 回复 悄悄话 哎呀,好学的九月,这都读了?

不能给你解释或翻译,怕你抢我饭碗。嘻嘻。。。
九月豆 回复 悄悄话 Hahahaha, are we in a "Conflict Domain" as well, or are we just "arbitrary"?

You got to translate this into Chinese~~~ Great Lesson!~~~~
登录后才可评论.