@@ -75,7 +75,7 @@ queue.call_every(400, printf, "called every 0.4 seconds\n");
75
75
76
76
The call functions return an ID that uniquely represents the event in the
77
77
the event queue. You can pass this ID to ` EventQueue::cancel ` to cancel
78
- an in-flight event.
78
+ an in-flight event prior to dispatch .
79
79
80
80
``` cpp
81
81
// The event id uniquely represents the event in the queue
@@ -88,7 +88,7 @@ if (id) {
88
88
}
89
89
90
90
// Events can be cancelled as long as they have not been dispatched. If the
91
- // event has already expired, cancel has no side-effects.
91
+ // event has already expired, cancel may have negative side-effects.
92
92
queue.cancel(id);
93
93
```
94
94
@@ -192,7 +192,7 @@ out of interrupt contexts.
192
192
## Documentation ##
193
193
194
194
The in-depth documentation on specific functions can be found in
195
- [ equeue.h] ( equeue.h ) .
195
+ [ equeue.h] ( include/events/ equeue.h) .
196
196
197
197
The core of the equeue library is the ` equeue_t ` type which represents a
198
198
single event queue, and the ` equeue_dispatch ` function which runs the equeue,
@@ -257,7 +257,7 @@ int enet_consume(void *buffer, int size) {
257
257
```
258
258
259
259
Additionally, in-flight events can be cancelled with ` equeue_cancel ` . Events
260
- are given unique ids on post, allowing safe cancellation of expired events .
260
+ are given unique ids on post, allowing safe cancellation until dispatch .
261
261
262
262
``` c
263
263
#include " equeue.h"
0 commit comments