Boost logo

Boost Users :

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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net