debug container mutex association

François Dumont frs.dumont@gmail.com
Fri Jan 5 21:32:00 GMT 2018


I see your point. I'll add similar test for each kind of debug container 
to see if we really have this problem at the momentor in the future. 
Maybe for biggest container like the unordered ones.

I'll check if I can use sizeof in this case.

Thanks for the report.


On 05/01/2018 00:23, Andreas Schwab wrote:
> On Jan 04 2018, François Dumont <frs.dumont@gmail.com> wrote:
>
>> get_safe_base_mutex in debug.cc will always associate a different mutex to
>> the 16 containers relying in a continuous memory area.
> That is only true if the alignment equals the size.  It's only the size
> that determines the consecutive addresses.
>
> Andreas.
>



More information about the Libstdc++ mailing list