> > I have sometimes assertion erros > from putHeavyLock method in > assert(*lkp == LOCKINPROGRESS); > > So, the question is - how lkp is > supposed to be protected in current thread > from being modified from others threads? > Which COMPARE_AND_EXCHANGE macro does it use? Do you have a backtrace when that assert fails? - Godmar