Subject: Re: [Boost-users] [shared_ptr] hangs on iPhone
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-11-26 17:25:08


Igor R wrote:
>> the inlined code is trying to lock a spinlock that doesn't exist.
>
> ...which should cause a crash, shouldn't it?

It picks a memory location, thinking that it's a spinlock locked by another
thread, and waits for it to become "unlocked", which never happens. I guess.