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 |
why the kernel panic error was appering?
linux file defaults permition
What does exec family return?
what is nis server
if root user forget the password how to change it?
Port number is already in use .. how to fix for apache..?
what kind of information the linux driver modules (.ko ) files has ?
what is the diff b/w MUTEX and semaphore?
Explain process management system calls in linux?
What is atomic function / atomic variable ?
what happens when we do insmod & rmmod in Linux Device Drivers ?
what is the difference between user APIs and kernel system calls ?