Originally posted by Bert Bates:
I'd really like to know that too!
From the answer, which you are saying to be correct, the question should be "How thread2 can avoid any chances of deadlock situation with thread1?"
Correct me if i am getting it wrong?
left-shift << is equivalent to multiplying the number by 2,4,8...respectively for shifting by 1,2,3....positions
Or stating more simply left-shifting a value by n positions, is the same as multiplying it by 2^n
right-shift >>/>>> is equivalent to dividing the number by 2,4,8...respectively for shifting by 1,2,3....positions
Or stating more simply right-shifting a value by n positions, is the same as dividing it by 2^n