What is atomic function / atomic variable ?



What is atomic function / atomic variable ?..

Answer / veerasena

atomic variables are the variables which can only be
manipulated atomically using atomic APIs. Linux declares
variable as atomic by using the type atomic_t. Basically
used a way to achieve synchronization.

an atomic operation is one which cannot be (or is not)
interrupted by concurrent operations and cannot be broken up
into smaller parts that could be performed by different
processors.

Atomic function is a function which is executed to
completion without interruption. Atomic function can also be
seen as a small critical section which is executed without
interruption, locking.

Is This Answer Correct ?    31 Yes 2 No

Post New Answer

More Linux System Calls Interview Questions

what is mean by raid and what are all raids available even in software and hardware?

5 Answers   Satyam,


I would like to know whether Simado and Setu products are they EPBX or not ?

0 Answers   IBM,


linux system its not booting up its showing groub error what i need to do?

4 Answers   Wipro,


what is stored at /lib/modules ?

2 Answers   NetApp,


what is bus trap.

1 Answers   NetApp,


What do fork() internally call?

3 Answers  


what are different ways the context switch happens from user to kernel space or vice-versa ?

0 Answers   Alcatel,


how to configure sendmail server on red hat linux version 4 and what and all we Require?

3 Answers   Wipro,


What is the Diffrent between Redhat linux And suse linux

2 Answers   Wipro,


what is samba, what is configuration file, how it will work?

3 Answers   Wipro,


what is cups and how to configure?

7 Answers   IBM,


what happens when we do insmod & rmmod in Linux Device Drivers ?

2 Answers  


Categories