Nebula
Loading...
Searching...
No Matches
memorypool.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
15
#include "
core/config.h
"
16
#if (__WIN32__)
17
#include "
memory/win32/win32memorypool.h
"
18
namespace
Memory
19
{
20
typedef
Win32::Win32MemoryPool
MemoryPool
;
21
}
22
#elif ( __OSX__ || __APPLE__ || __linux__ )
23
#include "
memory/posix/posixmemorypool.h
"
24
namespace
Memory
25
{
26
typedef
Posix::PosixMemoryPool
MemoryPool
;
27
}
28
#else
29
#error "IMPLEMENT ME!"
30
#endif
MemoryPool
A simple thread-safe memory pool.
Posix::PosixMemoryPool
FIXME: IMPLEMENT ME!
Definition
posixmemorypool.h:17
Win32::Win32MemoryPool
A simple thread-safe memory pool.
Definition
win32memorypool.h:25
config.h
Nebula compiler specific defines and configuration.
Memory
Allocates memory using the TLSF method (http://www.gii.upv.es/tlsf/files/ecrts04_tlsf....
Definition
arenaallocator.h:31
posixmemorypool.h
win32memorypool.h
code
foundation
memory
memorypool.h
Generated on Wed Nov 13 2024 21:37:27 for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.