Searched defs:reactor_object_t (Results 1 – 2 of 2) sorted by relevance
53 struct reactor_object_t { struct54 int fd; // the file descriptor to monitor for events.55 void* context; // a context that's passed back to the *_ready functions.56 reactor_t* reactor; // the reactor instance this object is registered with.57 std::mutex* mutex; // protects the lifetime of this object and all variables.59 void (*read_ready)(void* context); // function to call when the file61 void (*write_ready)(void* context); // function to call when the file
30 typedef struct reactor_object_t reactor_object_t; typedef