A method, apparatus, and system are provided for performing compare and exchange operations using a sleep-wakeup mechanism. According to one embodiment, an instruction at a processor is executed to help acquire a lock on behalf of the processor. If the lock is unavailable to be acquired by the processor,...http://www.google.de/patents/US20060005197?utm_source=gb-gplus-sharePatent US20060005197 - Compare and exchange operation using sleep-wakeup mechanism