Skip to content
Snippets Groups Projects
Forked from Core Modules / dune-common
4547 commits behind the upstream repository.
  • Markus Blatt's avatar
    f78ce3a8
    [poolallocator,release] Use a non-static memory pool. · f78ce3a8
    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.
    f78ce3a8
    History
    [poolallocator,release] Use a non-static memory pool.
    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.
poolallocator.hh 14.78 KiB