mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
18 lines
323 B
C++
Executable File
18 lines
323 B
C++
Executable File
#include "pool_alloc.h"
|
|
|
|
#include "memory/resource.h"
|
|
|
|
namespace ipc {
|
|
namespace mem {
|
|
|
|
void* pool_alloc::alloc(std::size_t size) {
|
|
return async_pool_alloc::alloc(size);
|
|
}
|
|
|
|
void pool_alloc::free(void* p, std::size_t size) {
|
|
async_pool_alloc::free(p, size);
|
|
}
|
|
|
|
} // namespace mem
|
|
} // namespace ipc
|