Skip to content

File loft.cc

FileList > ase > loft.cc

  • #include "loft.hh"
  • #include "platform.hh"
  • #include "atomics.hh"
  • #include "randomhash.hh"
  • #include "main.hh"
  • #include "internal.hh"
  • #include "testing.hh"
  • #include <sys/mman.h>
  • #include <wchar.h>

Namespaces

Type Name
namespace Ase
The Anklang C++ API namespace.
namespace Loft
Loft - A special purpose memory allocator for lock- and obstruction-free thread progress.

Classes

Type Name
struct ArenaSpan
struct BumpAllocator
struct LoftBuckets

Macros

Type Name
define MDEBUG (...) Ase::debug ("memory", __VA_ARGS__)
define MEM_ALIGN (addr, ALIGNMENT) (ALIGNMENT * size_t ((size_t (addr) + ALIGNMENT - 1) / ALIGNMENT))
define VDEBUG (...) Ase::debug ("memory", __VA_ARGS__)

Macro Definition Documentation

define MDEBUG

#define MDEBUG (
    ...
) Ase::debug ("memory", __VA_ARGS__)

define MEM_ALIGN

#define MEM_ALIGN (
    addr,
    ALIGNMENT
) (ALIGNMENT * size_t ((size_t (addr) + ALIGNMENT - 1) / ALIGNMENT))

define VDEBUG

#define VDEBUG (
    ...
) Ase::debug ("memory", __VA_ARGS__)


The documentation for this class was generated from the following file /__w/anklang/anklang/ase/loft.cc