EventLoop_Run_Result Enum

Header: #include <applibs/eventloop.h>

The possible return values for the EventLoop_Run function.

typedef int EventLoop_Run_Result;
enum {
    EventLoop_Run_Failed = -1,
    EventLoop_Run_FinishedEmpty = 0,
    EventLoop_Run_Finished = 1,
};

Members

EventLoop_Run_Failed

EventLoop_Run failed; errno has the specific error code.

EventLoop_Run_FinishedEmpty

EventLoop_Run finished without processing any events.

EventLoop_Run_Finished

EventLoop_Run finished after processing one or more events.