Apache Mesos
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
os::Stack Class Reference

#include <linux.hpp>

Public Member Functions

 Stack (size_t size_)
 
bool allocate ()
 
void deallocate ()
 
char * start () const
 

Static Public Member Functions

static Try< Stackcreate (size_t size)
 

Static Public Attributes

static constexpr size_t DEFAULT_SIZE = 8 * 1024 * 1024
 

Constructor & Destructor Documentation

os::Stack::Stack ( size_t  size_)
inlineexplicit

Member Function Documentation

bool os::Stack::allocate ( )
inline
static Try<Stack> os::Stack::create ( size_t  size)
inlinestatic
void os::Stack::deallocate ( )
inline
char* os::Stack::start ( ) const
inline

Member Data Documentation

constexpr size_t os::Stack::DEFAULT_SIZE = 8 * 1024 * 1024
static

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