Adds an event to the backend, optionally with a timeout.

Synopsis

Declared in <folly/io/async/EventBaseBackendBase.h>

virtual
int
eb_event_add(
    Event& event,
    timeval const* timeout) = 0;

Return Value

Zero on success, or a non‐zero error code.

Parameters

Name

Description

event

The event to add.

timeout

The optional timeout, or null for none.

Created with MrDocs