YAMI4 Core Library 2.0.0
Messaging Solution for Distributed Systems
Loading...
Searching...
No Matches
Public Member Functions | List of all members
yami::core::locked_allocator Class Reference

Locking (thread-safe) wrapper for the block-based allocator. More...

#include <locked_allocator.h>

Inheritance diagram for yami::core::locked_allocator:
yami::core::allocator

Public Member Functions

void set_working_area (void *buf, std::size_t size)
 
virtual void * allocate (std::size_t requested_size)
 
virtual void deallocate (const void *p)
 
void get_free_size (std::size_t &biggest, std::size_t &all) const
 
virtual void * allocate (std::size_t requested_size)=0
 
virtual void deallocate (const void *p)=0
 

Detailed Description

Locking (thread-safe) wrapper for the block-based allocator.

Member Function Documentation

◆ allocate()

virtual void * yami::core::locked_allocator::allocate ( std::size_t  requested_size)
inlinevirtual

Implements yami::core::allocator.

◆ deallocate()

virtual void yami::core::locked_allocator::deallocate ( const void *  p)
inlinevirtual

Implements yami::core::allocator.


The documentation for this class was generated from the following file: