Thrill  0.1
porting.cpp File Reference
#include <thrill/common/defines.hpp>
#include <thrill/common/json_logger.hpp>
#include <thrill/common/porting.hpp>
#include <thrill/common/string.hpp>
#include <thrill/common/system_exception.hpp>
#include <tlx/string/replace.hpp>
#include <tlx/unused.hpp>
#include <fcntl.h>
#include <fstream>
#include <mutex>
#include <sstream>
#include <string>
#include <vector>
#include <unistd.h>
+ Include dependency graph for porting.cpp:

Go to the source code of this file.

Namespaces

 thrill
 
 thrill::common
 Contains many common tools and helpers shared by higher layers. See common.
 

Functions

std::string GetHostname ()
 get hostname More...
 
void LogCmdlineParams (JsonLogger &logger)
 
void MakePipe (int out_pipefds[2])
 create a pair of pipe file descriptors More...
 
void PortSetCloseOnExec (int fd)
 set FD_CLOEXEC on file descriptor (if possible) More...
 
void SetCpuAffinity (std::thread &thread, size_t cpu_id)
 set cpu/core affinity of a thread More...
 
void SetCpuAffinity (size_t cpu_id)
 set cpu/core affinity of current thread More...
 
struct dirent * ts_readdir (DIR *dirp)
 mutex-locked readdir() call More...