src/server/util/pool_pvt.h

changeset 415
d938228c382e
parent 40
56cda23f48d4
--- a/src/server/util/pool_pvt.h	Wed Nov 02 19:19:01 2022 +0100
+++ b/src/server/util/pool_pvt.h	Sun Nov 06 15:53:32 2022 +0100
@@ -37,6 +37,7 @@
 #ifndef BASE_POOL_H
 #include "pool.h"
 #include <inttypes.h>
+#include <cx/allocator.h>
 #endif /* BASE_POOL_H */
 
 /*
@@ -147,6 +148,7 @@
  */
 typedef struct pool_t pool_t;
 struct pool_t {
+    CxAllocator allocator;      /* ucx allocator interface */
     block_t  *curr_block;       /* current block being used */
     block_t  *used_blocks;      /* blocks that are all used up */
     block_t  *free_blocks;      /* blocks that are free */

mercurial