Subj : Re: deadlock avoidance To : comp.programming.threads From : Satendra Date : Wed Jul 06 2005 10:17 pm Hi Jose, I guess my statement was misinterpreted. What i meant by atomic here is that if we have lets say an integer i with initial value 0 .Thread T1 unconditionally modified to 2 (i = 2) then T2 at any time will read it as either 0 or 2 but nothing in between, I agree that with c++ objects this might not be true. I still don't understand why a function who is just checking/reading the value of a global variable can't be reentrant ? Regards, Satendra .