object_pool-fragmented.cc 364 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#include<iostream>
#include<embb/containers/object_pool.h>
#include<embb/containers/lock_free_tree_value_pool.h>

void RunObjectPoolExample1()
{
  #include "containers/object_pool-snippet.h"
}

void RunObjectPoolExample2()
{
  #include "containers/object_pool_2-snippet.h"
}

void RunObjectPoolExamples()
{
  RunObjectPoolExample1();
  RunObjectPoolExample2();

}