Nebula
Loading...
Searching...
No Matches
arrayallocatorsafe.h File Reference
#include "types.h"
#include "util/pinnedarray.h"
#include "threading/readwritelock.h"
#include "threading/spinlock.h"
#include <tuple>
#include "tupleutility.h"
#include "ids/id.h"

Go to the source code of this file.

Classes

struct  Util::AllocatorLock< T >
 
class  Util::ArrayAllocatorSafe< MAX_ALLOCS, TYPES >
 The ArrayAllocatorSafe provides a thread safe variadic list of types which is to be contained in the allocator and fetching each value by providing the index into the list of types, which means the members are nameless. More...
 

Namespaces

namespace  Util
 A pinned array is an array which manages its own virtual memory.
 

Macros

#define __Lock(name, element)
 
#define __LockName(allocator, name, element)
 

Macro Definition Documentation

◆ __Lock

#define __Lock ( name,
element )
Value:
auto __allocator_lock_##name##__ = Util::AllocatorLock(&name, element);
Definition arrayallocatorsafe.h:44

◆ __LockName

#define __LockName ( allocator,
name,
element )
Value:
auto __allocator_lock_##name##__ = Util::AllocatorLock(allocator, element);