slowLockMutex / putHeavyLock

Godmar Back kaffe@rufus.w3.org
Wed, 29 Nov 2000 14:01:35 -0700 (MST)


> 
>   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