![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Static Public Member Functions | |
| static FBucket & | FindOrCreateBucket (const void *Address, TDynamicUniqueLock< FWordMutex > &OutLock) |
| static FBucket * | FindBucket (const void *Address, TDynamicUniqueLock< FWordMutex > &OutLock) |
| static void | Reserve (uint32 ThreadCount) |
A hash table of queues of waiting threads keyed by memory address.
Tables are never freed. The size of the table is bounded by the maximum number of threads that exist concurrently and have used the wait queue. The table grows by powers of two, which means that the maximum size leaked is less than the maximum size that the table ever grows to. Table leaks are also limited in size because a table is an array of bucket pointers, and the buckets are reused when the table grows.
|
static |
Find and lock the bucket for the memory address. Returns null if the bucket was not created.
|
static |
Find or create, and lock, the bucket for the memory address.
Reserve memory for the table to handle at least ThreadCount waiting threads.