join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
memory.hpp File Reference
#include <join/error.hpp>
#include <join/utils.hpp>
#include <system_error>
#include <stdexcept>
#include <limits>
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>
#include <numaif.h>
#include <numa.h>
#include <fcntl.h>
#include <cstdint>
Include dependency graph for memory.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  join::LocalMem
 local anonymous memory provider. More...
 
class  join::ShmMem
 posix shared memory provider. More...
 

Namespaces

namespace  join
 

Functions

int join::mbind (void *ptr, size_t size, int numa) noexcept
 bind memory to a NUMA node.
 
int join::mlock (void *ptr, size_t size) noexcept
 lock memory in RAM.