|
Boost Users : |
Subject: Re: [Boost-users] Problems with boost 1.44.0 and MSVC: boost::mutex::scoped_lock and std::deque in multithreaded application
From: David Ward (davidjward30_at_[hidden])
Date: 2010-10-05 08:38:02
> Greetings, ppl.
> I've got strange problems with the latest stable boost (1.44.0) and
> MSVS studios 2005 and 2010.
>
> The first problem I got (it seems being not dependent on boost
> version) was the heap allocation exception when using
> mutex::scoped_lock to guard references to std::deque from different
> threads in multithreaded application.
Hi,
You might want to check out this known bug with std::deque in MSVC. It's due to be fixed in VC11:
https://connect.microsoft.com/VisualStudio/feedback/details/533131/bug-in-std-deque-non-conforming-invalidation-of-iterators-after-pop-front?wa=wsignin1.0
Regards,
David.
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