Atomic Operation

Definition & Meaning

Last updated 22 month ago

What is an Atomic Operation?

Atomic operations in conCurrent Programming are program operations that run completely independently of every other processes.

Atomic operations are used in lots of contemporary working structures and Parallel Processing structures.

What Does Atomic Operation Mean?

Atomic operations are often used inside the Kernel, the number one aspect of maximum running sySTEMs. However, maximum Computer Hardware, Compilers and libraries additionally provide varying Ranges of atomic operations.

In loading and storing, Computer hardware carries out writing and studying to a phrase-sized reminiscence. To fetch, Upload or subtract, fee augmentation takes location thru atomic operations. During an atomic operation, a Processor can study and write a area during the same statistics transmission. In this way, another Input/Output mechanism or processor cannot perForm reminiscence studying or writing obligations till the atomic operation has completed.

Where statistics is being used by an atomic operation this is also in use through different atomic or non-atomic operations, it can best exist in either sequential processing environments or Locking mechanisms ought to be used to avoid Records mistakes. Compare and swap is every other approach but does no longer guarantee statistics Integrity for atomic operation results.

The hassle comes when two operations going for walks in parallel (concurrent operations) utilise the identical facts and a disParity between the results of the operations happens. Locking locks Variable statistics and forces sequential operation of atomic Methods that Make use of the same statistics or have an effect on it in a few manner.

Share Atomic Operation article on social networks

Your Score to Atomic Operation article

Score: 5 out of 5 (1 voters)

Be the first to comment on the Atomic Operation

219- V5

tech-term.com© 2023 All rights reserved