Subj : Re: Lock Free -- where to start To : comp.programming.threads From : Sergey P. Derevyago Date : Wed Oct 05 2005 02:09 pm David Hopwood wrote: > > Moreover, some "lock free papers" define the "lock free" term in such a way > > that old good spin _locks_ become lock free synchronization primitives! > > You're probably confusing a statement about the *implementation* of the lock with > a statement about the lock itself. > No, I'm not. > Of course the implementation of a lock will > be lock-free (unless one kind of lock is being implemented in terms of another). > Yes. The point is that some "lock free" algorithms just implement well known locking patterns in user code. Their argumentation is: I don't call mutex.lock() so my code is lock free... > It won't be wait-free, though. > -- With all respect, Sergey. http://ders.angen.net/ mailto : ders at skeptik.net .