diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-22 23:03:12 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-22 23:03:12 +0100 |
commit | c884edd923a20e2fdf697bb7101039c812c6db25 (patch) | |
tree | a5352c5ef5e7f7359af907428d3fc23c653e5357 /src/leeds/smallHeap.h | |
parent | fix (diff) | |
download | re3-c884edd923a20e2fdf697bb7101039c812c6db25.tar re3-c884edd923a20e2fdf697bb7101039c812c6db25.tar.gz re3-c884edd923a20e2fdf697bb7101039c812c6db25.tar.bz2 re3-c884edd923a20e2fdf697bb7101039c812c6db25.tar.lz re3-c884edd923a20e2fdf697bb7101039c812c6db25.tar.xz re3-c884edd923a20e2fdf697bb7101039c812c6db25.tar.zst re3-c884edd923a20e2fdf697bb7101039c812c6db25.zip |
Diffstat (limited to '')
-rw-r--r-- | src/leeds/smallHeap.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/leeds/smallHeap.h b/src/leeds/smallHeap.h new file mode 100644 index 00000000..f2897688 --- /dev/null +++ b/src/leeds/smallHeap.h @@ -0,0 +1,17 @@ +#pragma once + +#include "memoryManager.h" + +class cSmallHeap : public base::cMemoryManager +{ + bool bLocked; + bool bUnk; +public: + cSmallHeap(); + void Lock(); + void Unlock(); + + bool IsLocked() const { return bLocked; } + + static cSmallHeap msInstance; +};
\ No newline at end of file |