Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

diff b/w spinlock, seamaphores and mutex and where to use it.

2 Answers   Intel,


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

2 Answers  


What is the use of proc structure?

2 Answers   NetApp,


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

2 Answers   NetApp,


What does exec family return?

1 Answers  


how to create samba server in fedora linux 9 ?

2 Answers   Accenture,


what is segmentation fault?

11 Answers   AdTel, NetApp,


linux file defaults permition

8 Answers  


what is the diff b/w MUTEX and semaphore?

12 Answers   Sony, TCS,


what is iptabe on redhat linux?

3 Answers   CDAC,


if one of the critical section code (linked list) is under ISR & another one in kernel thread ? How you will synchronize for this critical section code ?

4 Answers   NetApp,


What are system calls used for process management in linux?

0 Answers  


Categories