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