Home
last modified time | relevance | path

Searched defs:reactor_object_t (Results 1 – 2 of 2) sorted by relevance

/system/bt/osi/src/
Dreactor.c50 struct reactor_object_t { struct
51 int fd; // the file descriptor to monitor for events.
52 void *context; // a context that's passed back to the *_ready functions.
53 reactor_t *reactor; // the reactor instance this object is registered with.
54 pthread_mutex_t lock; // protects the lifetime of this object and all variables.
56 …void (*read_ready)(void *context); // function to call when the file descriptor becomes readable.
57 …oid (*write_ready)(void *context); // function to call when the file descriptor becomes writeable.
/system/bt/osi/include/
Dreactor.h30 typedef struct reactor_object_t reactor_object_t; typedef