diff options
Diffstat (limited to 'ot_event.h')
| -rw-r--r-- | ot_event.h | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -38,6 +38,11 @@ int event_close(int fd); | |||
| 38 | out with up to max ready descriptors. Returns how many, or -1. */ | 38 | out with up to max ready descriptors. Returns how many, or -1. */ |
| 39 | int event_wait(ot_event *out, int max, int timeout_ms); | 39 | int event_wait(ot_event *out, int max, int timeout_ms); |
| 40 | 40 | ||
| 41 | /* Whether the registered set may be changed from another thread while this | ||
| 42 | one is waiting on it. True where the kernel keeps the set, false where | ||
| 43 | this module keeps it in memory of its own. */ | ||
| 44 | int event_can_share(void); | ||
| 45 | |||
| 41 | /* Which mechanism was compiled in, for the version string */ | 46 | /* Which mechanism was compiled in, for the version string */ |
| 42 | const char *event_mechanism(void); | 47 | const char *event_mechanism(void); |
| 43 | 48 | ||
