What is atomic function and atomic variable?
Submitted by: Administratoratomic 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.
Submitted by: Administrator
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.
Submitted by: Administrator
Read Online System Calls Job Interview Questions And Answers
Top System Calls Questions
☺ | What happens when we do insmod & rmmod in Linux Device Drivers? |
☺ | What are the different ways the Linux can switch from User Space to Kernel Space & vice-versa? |
☺ | Difference between Raid 1 and Raid 5? |
☺ | What kind of information the Linux driver modules (.ko ) files has? |
☺ | What is the largest disk size can be used in LVM? |
Top Linux OS Categories
☺ | Device Drivers Interview Questions. |
☺ | Linux OS Management Interview Questions. |
☺ | Linux Makefile Interview Questions. |
☺ | Linux Environment Interview Questions. |
☺ | Linux OS Shell Interview Questions. |