Apache Mesos
Functions | Variables
os::internal Namespace Reference

Functions

void signalHandler (int sig, siginfo_t *siginfo, void *context)
 
int configureSignal (const std::function< void(int, int)> *signal)
 
BOOL WINAPI CtrlHandler (DWORD fdwCtrlType)
 
int installCtrlHandler (const std::function< void(int, int)> *signal)
 
int kill_process (pid_t pid)
 
Try< Nothingrecursive_remove_directory (const std::string &path, bool removeRoot, bool continueOnError)
 
Try< std::string > nodename ()
 
double windows_to_unix_epoch (const FILETIME &filetime)
 

Variables

std::function< void(int, int)> * signaledWrapper = nullptr
 

Function Documentation

int os::internal::configureSignal ( const std::function< void(int, int)> *  signal)
BOOL WINAPI os::internal::CtrlHandler ( DWORD  fdwCtrlType)
inline
int os::internal::installCtrlHandler ( const std::function< void(int, int)> *  signal)
inline
int os::internal::kill_process ( pid_t  pid)
inline
Try<std::string> os::internal::nodename ( )
inline
Try<Nothing> os::internal::recursive_remove_directory ( const std::string &  path,
bool  removeRoot,
bool  continueOnError 
)
inline
void os::internal::signalHandler ( int  sig,
siginfo_t *  siginfo,
void *  context 
)
double os::internal::windows_to_unix_epoch ( const FILETIME &  filetime)
inline

Variable Documentation

static std::function< void(int, int)> * os::internal::signaledWrapper = nullptr