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

how to configure http server on red hat linux4.0?

5 Answers   IBM,


How to give the root permision to users?

3 Answers   Wipro,


why the kernel panic error was appering?

13 Answers   Air2Web, Allianz,


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

5 Answers   Satyam,


Explain process management system calls in linux?

0 Answers  






What is the use of proc structure?

2 Answers   NetApp,


what is sudo on linux?

3 Answers   IBM,


How to create secured appeche web sever ?

1 Answers   HCL,


How to get microseconds of system time from Redhat Linux 4.0

2 Answers  


what is segmentation fault?

11 Answers   AdTel, NetApp,


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

0 Answers   IBM,


what kind of information the linux driver modules (.ko ) files has ?

2 Answers   NetApp,


Categories