Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Classes | Typedefs | Functions
POSIX Support

Detailed Description

Mostly-internal APIs to provide C++ glue for the underlying POSIX platform; but can be used by the application when they don't block.

Classes

struct  seastar::mmap_deleter
 
class  seastar::file_desc
 
class  seastar::posix_thread
 

Typedefs

using seastar::mmap_area = std::unique_ptr< char[], mmap_deleter >
 

Functions

void seastar::throw_system_error_on (bool condition, const char *what_arg="")
 
template<typename T >
void seastar::throw_kernel_error (T r)
 
template<typename T >
void seastar::throw_pthread_error (T r)
 
mmap_area seastar::mmap_anonymous (void *addr, size_t length, int prot, int flags)
 
sigset_t seastar::make_sigset_mask (int signo)
 
sigset_t seastar::make_full_sigset_mask ()
 
sigset_t seastar::make_empty_sigset_mask ()
 
void seastar::pin_this_thread (unsigned cpu_id)
 
std::set< unsigned > seastar::get_current_cpuset ()