i m working with posix threads and two of my threads are simultaneously accessing a global variable...may i know of a way to suspend action of one thread only for that variable unless the other has performed opereation....can u give me a code snippet for the same...please note i dont want to mutex lock the thread since it blocks the whole thread..