翻訳と辞書
Words near each other
・ Linepithema oblongum
・ Linear utility
・ Linear variable differential transformer
・ Linear verrucous epidermal nevus
・ Linear video editing
・ Linear-fractional programming
・ Linear-motion bearing
・ Linear-nonlinear-Poisson cascade model
・ Linear-on-the-fly testing
・ Linear-quadratic regulator
・ Linear-quadratic-Gaussian control
・ Linearised polynomial
・ Linearity
・ Linearity of differentiation
・ Linearity of integration
Linearizability
・ Linearization
・ Linearized gravity
・ Linearizer
・ Linearly disjoint
・ Linearly ordered group
・ Lineated barbet
・ Lineated foliage-gleaner
・ Lineated valley fill
・ Lineated woodcreeper
・ Lineated woodpecker
・ Lineatin
・ Lineation
・ Lineation (geology)
・ Lineatriton


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Linearizability : ウィキペディア英語版
Linearizability

In concurrent programming, an operation (or set of operations) is atomic, linearizable, indivisible or uninterruptible if it appears to the rest of the system to occur instantaneously. Atomicity is a guarantee of isolation from concurrent processes. Additionally, atomic operations commonly have a succeed-or-fail definition—they either successfully change the state of the system, or have no apparent effect.
Atomicity is commonly enforced by mutual exclusion, whether at the hardware level building on a cache coherency protocol, or the software level using semaphores or locks. Thus, an atomic operation does not ''actually'' occur instantaneously. The benefit comes from the ''appearance'': the system behaves ''as if'' each operation occurred instantly, separated by pauses. Because of this, implementation details may be ignored by the user, except insofar as they affect performance. If an operation is not atomic, the user will also need to understand and cope with sporadic extraneous behaviour caused by interactions between concurrent operations, which by their nature are likely to be hard to reproduce and debug.
== Primitive atomic instructions ==
Processors have instructions that can be used to implement locking and lock-free and wait-free algorithms. The ability to temporarily inhibit interrupts, ensuring that the currently running process cannot be context switched, also suffices on a uniprocessor. These instructions are used directly by compiler and operating system writers but are also abstracted and exposed as bytecodes and library functions in higher-level languages:
* atomic read-write;
* atomic swap (the RDLK instruction in some Burroughs mainframes, and the XCHG x86 instruction);
* test-and-set;
* fetch-and-add;
* compare-and-swap;
* load-link/store-conditional.
Most processors include store operations that are not atomic with respect to memory. These include multiple words stores and string operations. Should a high priority interrupt occur when a portion of the store is complete, the operation must be completed when the interrupt level is returned. The routine that processes the interrupt must not access the memory being changed. It is important to take this into account when writing interrupt routines.
When there are multiple instructions which must be completed without interruption, a CPU instruction which temporarily disables interrupts is used. This must be kept to only a few instructions and the interrupts must be enabled to avoid unacceptable response time to interrupts or even losing interrupts. This mechanism is not sufficient in a multi-processor environment since each CPU can interfere with the process regardless of whether interrupts occur or not. Further, in the presence of an instruction pipeline, uninterruptible operations present a security risk, as they can potentially be chained in an infinite loop to create a denial of service attack, as in the Cyrix coma bug.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Linearizability」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.