Sane C++ Libraries
C++ Platform Abstraction Libraries
SC::AsyncEventLoop::Options Struct Reference

Options given to AsyncEventLoop::create. More...

#include <Async.h>

Public Types

enum class  ApiType {
  Automatic = 0 ,
  ForceUseIOURing ,
  ForceUseEpoll
}
 

Public Attributes

ApiType apiType
 Criteria to choose Async IO API. More...
 

Detailed Description

Member Enumeration Documentation

◆ ApiType

Enumerator
Automatic 

Platform specific backend chooses the best API.

ForceUseIOURing 

(Linux only) Tries to use io_uring (failing if it's not found on the system)

ForceUseEpoll 

(Linux only) Tries to use epoll

Member Data Documentation

◆ apiType

ApiType SC::AsyncEventLoop::Options::apiType

Criteria to choose Async IO API.


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