summaryrefslogtreecommitdiff
path: root/ot_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'ot_event.h')
-rw-r--r--ot_event.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ot_event.h b/ot_event.h
index aa007d0..efdefff 100644
--- a/ot_event.h
+++ b/ot_event.h
@@ -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. */
39int event_wait(ot_event *out, int max, int timeout_ms); 39int 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. */
44int 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 */
42const char *event_mechanism(void); 47const char *event_mechanism(void);
43 48