Safe semantics

Safe semantics

In computing and computer networking, safe semantics describes the guarantees provided by a data register shared by several processors in a parallel machine or in a network of computers working together.

Safe semantics are defined formally in Lamport's "On Interprocess Communication", published in "Distributed Computing" 1, 2 (1986), 77–101. (This also appeared as SRC Research Report 8.)

Safe semantics are defined for a variable with a single writer but multiple readers. These semantics are weak: they only guarantee that there is a total ordering of the writes and that a read which is not concurrent with any write will return the latest value. If a write is concurrent with the read then any value can be returned (for example, if a variable had value 5 and was being changed to 6 during the read, the read function could return 8). The only exception is that values which could not be held by the variable must not be returned; for example, if the variable can hold values between 0 and 255 then the read function must never return 257.

ee also

* Regular semantics
* Atomic semantics


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Regular semantics — is a term which describes the guarantees provided by a data register shared by several processors in a parallel machine or in a network of computers working together. Overview Definition Regular semantics are defined formally in Lamport s On… …   Wikipedia

  • Atomic semantics — is a term which describes the guarantees provided by a data register shared by several processors in a parallel machine or in a network of computers working together.Atomic semantics are defined for a variable with a single writer but multiple… …   Wikipedia

  • Well-founded semantics — The well founded semantics is a three valued version of the stable semantics. That is, instead of only assigning propositions true or false , it also allows for a value representing ignorance. For example, if we know thatSpecimen A is a moth if… …   Wikipedia

  • Seme (semantics) — Seme, the smallest unit of meaning recognized in Semantics, refers to a single characteristic of a sememe. These characteristics are defined according to the differences between sememes. The term was introduced by Eric Buyssens in the 1930s and… …   Wikipedia

  • Type safety — In computer science, type safety is a property of some programming languages that is defined differently by different communities, but most definitions involve the use of a type system to prevent certain erroneous or undesirable program behavior… …   Wikipedia

  • Comparison of Java and C++ — Programming language comparisons General comparison Basic syntax Basic instructions Arrays Associative arrays String operations …   Wikipedia

  • Tuple relational calculus — The tuple calculus is a calculus that was introduced by Edgar F. Codd as part of the relational model in order to give a declarative database query language for this data model. It formed the inspiration for the database query languages QUEL and… …   Wikipedia

  • Programming language — lists Alphabetical Categorical Chronological Generational A programming language is an artificial language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs that… …   Wikipedia

  • Mobile Membranes — Membrane systems have been inspired from the structure and the functioning of the living cells. They were introduced and studied by Gh.Paun under the name of P systems [24]; some applications of the membrane systems are presented in [15].… …   Wikipedia

  • Comparison of programming languages — Programming language comparisons General comparison Basic syntax Basic instructions Arrays Associative arrays String operations …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”