http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46455
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ktietz at gcc dot gnu.org
--- Comment #5 from Kai Tietz <ktietz at gcc dot gnu.org> 2010-11-14 11:58:43
UTC ---
(In reply to comment #2)
> What's the value of __gnu_cxx::__default_lock_policy on Mingw?
> Is it the same for GCC 4.4 and 4.5?
>
> Between 4.4 and 4.5 there are some changes to the ghtr-win32.h file which
> provides the gthreads abstraction layer, but there are no significant changes
> to shared_ptr. So for the moment I think it's either a change in the atomic
> operations supported by mingw or a change in the threading layer, not
> shared_ptr
Well, I've tested it with mingw-w64 toolchains (64-bit and 32-bit) and I
couldn't reproduce this issue. Nevertheless it could be related here to some
modifications done by mingw.org on their toolchain. So threading model is here
something to look for.
Kai