JASSv2
Classes
allocator_pool.h File Reference

Simple block-allocator that internally allocates a large chunk then allocates smaller blocks from this larger block. More...

#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <assert.h>
#include <vector>
#include <mutex>
#include "allocator.h"
Include dependency graph for allocator_pool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  JASS::dynamic_array< TYPE >
 Thread-safe grow-only dynamic array using the thread-safe allocator. More...
 
class  JASS::allocator_pool
 Simple block-allocator that internally allocates a large chunk then allocates smaller blocks from this larger block. More...
 
class  JASS::allocator_pool::chunk
 Details of an individual large-allocation unit. More...
 

Detailed Description

Simple block-allocator that internally allocates a large chunk then allocates smaller blocks from this larger block.

Author
Andrew Trotman