Subj : Re: lock preemption To : comp.unix.aix,comp.programming.threads From : Kamal R. Prasad Date : Tue Jun 21 2005 11:20 pm Ben Hutchings wrote: > Kamal R. Prasad wrote: > > Hello, > > > > I am dealing with a strange beast called complex locks inside AIX > > kernel extensions. The documentation indicates that a higher priority > > thread can premept a lower priority thread holding a complex lock. > > > I think you are misinterpreting a description of priority *promotion*. > This is a feature that boosts the priority of a thread holding a lock > while a higher-priority thread is waiting for the lock. This avoids > the well-known problem of priority inversion. > thanks.Yes -I misunderstood priority promotion. I figured it out and the 2nd post on this thread was actually a mistake (I wanted to update another query on get_stkp() that I made on comp.unix.aix). regards -kamal > -- > Ben Hutchings > Anthony's Law of Force: Don't force it, get a larger hammer. .