<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki1463/index.php?action=history&amp;feed=atom&amp;title=Atomic_semantics</id>
	<title>Atomic semantics - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki1463/index.php?action=history&amp;feed=atom&amp;title=Atomic_semantics"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki1463/index.php?title=Atomic_semantics&amp;action=history"/>
	<updated>2026-12-04T02:23:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki1463/index.php?title=Atomic_semantics&amp;diff=1047&amp;oldid=prev</id>
		<title>imported&gt;Softlavender: Reverted edit by Akaibu (talk) to last version by Onel5969</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki1463/index.php?title=Atomic_semantics&amp;diff=1047&amp;oldid=prev"/>
		<updated>2024-10-03T04:03:22Z</updated>

		<summary type="html">&lt;p&gt;Reverted edit by &lt;a href=&quot;/wiki1463/index.php?title=Special:Contributions/Akaibu&quot; title=&quot;Special:Contributions/Akaibu&quot;&gt;Akaibu&lt;/a&gt; (&lt;a href=&quot;/wiki1463/index.php?title=User_talk:Akaibu&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Akaibu (page does not exist)&quot;&gt;talk&lt;/a&gt;) to last version by Onel5969&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Atomic semantics&amp;#039;&amp;#039;&amp;#039; is a type of guarantee provided by a [[data register]] shared by several [[central processing unit|processors]] in a [[parallel machine]] or in a network of computers working together.&lt;br /&gt;
Atomic semantics are very strong. An atomic register provides strong guarantees even when there is concurrency and failures.&lt;br /&gt;
&lt;br /&gt;
A read/write register R stores a value and is accessed by two basic operations: read and write(v). A read  returns the value stored in R and write(v) changes the value stored in R to v.&lt;br /&gt;
A register is called atomic if it satisfies the two following properties:&lt;br /&gt;
&lt;br /&gt;
1) Each invocation op of a read or write operation:&lt;br /&gt;
&lt;br /&gt;
•Must appear as if it were executed at a single point τ(op) in time.&lt;br /&gt;
&lt;br /&gt;
•τ (op) works as follow:&lt;br /&gt;
τb(op) ≤ τ (op) ≤ τe(op): where τb(op) and τe(op) indicate the time when the operation op begins and ends.&lt;br /&gt;
&lt;br /&gt;
•If op1 ≠ op2, then τ (op1)≠τ (op2)&lt;br /&gt;
&lt;br /&gt;
2) Each read operation returns the value written by the last write operation before the read, in the sequence where all operations are ordered by their τ values.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Atomic/Linearizable register:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Termination: when a node is correct, sooner or later each read and write operation will complete.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Safety Property&amp;#039;&amp;#039;&amp;#039; (Linearization points for read and write and failed operations):&lt;br /&gt;
&lt;br /&gt;
Read operation:It appears as if happened at all nodes at some times between the invocation and response time.&lt;br /&gt;
&lt;br /&gt;
Write operation: Similar to read operation, it appears as if happened at all nodes at some times between the invocation and response time.&lt;br /&gt;
&lt;br /&gt;
Failed operation(The atomic term comes from this notion):It appears as if it is completed at every single node or it never happened at any node.&lt;br /&gt;
&lt;br /&gt;
Example : We know that an atomic register is one that is linearizable to a sequential safe register.&lt;br /&gt;
&lt;br /&gt;
[[File:Atomic register1.jpg|centre|atomic]]&lt;br /&gt;
&lt;br /&gt;
The following picture shows where we should put the linearization point for each operation:&lt;br /&gt;
&lt;br /&gt;
[[File:Atomic register.jpg|center|Atomic register]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
An atomic register could be defined for a variable with a single writer but multi- readers (SWMR), single-writer/single-reader (SWSR), or multi-writer/multi-reader (MWMR). Here is an example of a multi-reader multi-writer atomic register which is accessed by three processes (P1, P2, P3). Note that R. read() → v means that the corresponding read operation returns v, which is the value of the register. Therefore, the following execution of the register R could satisfies the definition of the atomic registers:&lt;br /&gt;
R.write(1), R.read()→1, R.write(3), R.write(2), R.read()→2, R.read()→2.&lt;br /&gt;
&lt;br /&gt;
[[File:Atomic MWMR1.jpg|center|Atomic MWMR1]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Regular semantics]]&lt;br /&gt;
*[[Safe semantics]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
* Atomic semantics are defined formally in Lamport&amp;#039;s &amp;quot;On Interprocess Communication&amp;quot; Distributed Computing 1, 2 (1986), 77–101. (Also appeared as SRC Research Report 8).&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Atomic Semantics}}&lt;br /&gt;
[[Category:Concurrency control]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Softlavender</name></author>
	</entry>
</feed>