Hi, I had this question. Are there any subroutines provided in linux which allow multiprocessor safe atomic operations on integers. Say if i have to increment or decrement a variable atomically or read the value of a variable atomically. Also, i am looking at calls which are not pthread calls. Cheers, Sharath. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/