Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-04-21 08:30:49


Anthony Williams:

> "Peter Dimov" <pdimov_at_[hidden]> writes:
>
>> I'm seeing a deadlock on a dual core Pentium D from
>> libs/smart_ptr/test/sp_atomic_mt_test.cpp when USE_RWLOCK is defined
>> (which
>> causes it to use boost::shared_mutex). It works on uniprocessor.
>
> How often, on what platform?

Every time, on a dual core Pentium D running XP64. The program is compiled
as 32 bit with MSVC 7.1. It looks like a livelock rather than a deadlock,
since the program keeps spinning its wheels at 100% but never completes. The
writer thread is probably either blocked or starved. This happens on another
(quad core) machine too for which I don't know the specs at the moment.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk