Forked from
Core Modules / dune-common
4547 commits behind the upstream repository.
-
Markus Blatt authored
Due to its desgin of using one static memory pool. The allocator could not be used in different threads at the same time without side effects. With this revision each instance will hold its own private instance of the pool. There should be no issues with this patch and poolallocator seems to be mostly used in AMG anyway.
Markus Blatt authoredDue to its desgin of using one static memory pool. The allocator could not be used in different threads at the same time without side effects. With this revision each instance will hold its own private instance of the pool. There should be no issues with this patch and poolallocator seems to be mostly used in AMG anyway.
poolallocator.hh 14.78 KiB