Configuration options for constructing an EventBase.
Synopsis
Declared in <folly/io/async/EventBase.h>
struct Options;
Type Aliases
Name |
Description |
Factory function for creating the backend. |
Member Functions
Name |
Description |
|
Constructs options with default values. |
Sets the factory used to create the backend. |
|
Sets the per‐iteration timeslice for loop and queue callbacks. |
|
Sets whether to skip measuring loop durations. |
|
Sets the granularity of the wheel timer. |
Data Members
Name |
Description |
The factory used to create the EventBase backend. |
|
If non‐zero, processing of loop callback and notification queue callbacks will only be allowed to run for this timeslice within each iteration (each gets one timeslice per iteration). This can be used to prevent the queues to starve event handling or each other. |
|
Skip measuring event base loop durations. |
|
Granularity of the wheel timer in the EventBase. |
Created with MrDocs