diff options
author | Sergey Sharybin <sergey@blender.org> | 2020-11-17 13:33:47 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2020-11-19 18:17:48 +0300 |
commit | 4a8cf9d182e86ae5366b5a8d4cbfedbef5c3e15e (patch) | |
tree | 3900401afe5c37d56a95052e1c3b71570ba1c7cd /release | |
parent | 42b2ae5f694d554b1f4c58acd0afd26516b9ed20 (diff) |
Guarded allocator: Add explicit switch to the lockfree implementation
Previously the only way to use lockfree implementation was to start
executable and never switch to guarded allocator.
Surely, it is not possible to switch implementation once any allocation
did happen, but some tests are desired to test lock-free implementation
of the allocator. Those tests did not operate properly because the main
entry point of tests are forcing guarded allocator to help catching
bugs.
This change makes it possible for those tests to ensure they do operate
on lock-free implementation.
There is no functional changes here, preparing boilerplate for an
upcoming work on the allocator tests themselves.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions