Subj : Re: atomic operations api added to AppCore... To : comp.programming.threads From : awaken Date : Tue Feb 22 2005 09:31 am Hey Mr.Lockfree! Have you ever implemented Hazard pointers and Michael's deque (based on CAS64 and haz.pointers) I'm trying to implement this algo but have poor understanding of some tricks with memory, and how hazard pointers work To use CAS64 on Intel, I packed 2 32bit head and tail pointers together with queue status flag. it shares 2 lowest bits with one of the pointers. .