忙裏偷閑

很多事情很多心情寫了也就記下了; 不寫,以後可能就忘了.
個人資料
正文

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!~~~~
登錄後才可評論.