Blender  V3.3
guardedalloc_test_base.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: Apache-2.0 */
2 
3 #ifndef __GUARDEDALLOC_TEST_UTIL_H__
4 #define __GUARDEDALLOC_TEST_UTIL_H__
5 
6 #include "testing/testing.h"
7 
8 #include "MEM_guardedalloc.h"
9 
10 class LockFreeAllocatorTest : public ::testing::Test {
11  protected:
12  virtual void SetUp()
13  {
15  }
16 };
17 
18 class GuardedAllocatorTest : public ::testing::Test {
19  protected:
20  virtual void SetUp()
21  {
23  }
24 };
25 
26 #endif // __GUARDEDALLOC_TEST_UTIL_H__
Read Guarded memory(de)allocation.
void MEM_use_guarded_allocator(void)
Definition: mallocn.c:134
void MEM_use_lockfree_allocator(void)
Definition: mallocn.c:98