|
Process Hacker
|
An auto-dereference pool can be used for semi-automatic reference counting. More...
#include <ref.h>
Data Fields | |
| ULONG | StaticCount |
| PVOID | StaticObjects [PH_AUTO_POOL_STATIC_SIZE] |
| ULONG | DynamicCount |
| ULONG | DynamicAllocated |
| PVOID * | DynamicObjects |
| struct _PH_AUTO_POOL * | NextPool |
An auto-dereference pool can be used for semi-automatic reference counting.
Batches of objects are dereferenced at a certain time.
This object is not thread-safe and cannot be used across thread boundaries. Always store them as local variables.
| struct _PH_AUTO_POOL* NextPool |
| PVOID StaticObjects[PH_AUTO_POOL_STATIC_SIZE] |