Skip to content

Commit e8332aa

Browse files
authored
Update EventQueue.h
1 parent 13351c9 commit e8332aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

events/include/events/EventQueue.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
154154
/** Cancel an in-flight event
155155
*
156156
* Attempts to cancel an event referenced by the unique id returned from
157-
* one of the call functions. It is safe to call cancel after an event
157+
* one of the call functions. It is not safe to call cancel after an event
158158
* has already been dispatched.
159159
*
160160
* id must be valid i.e. event must have not finished executing.
@@ -175,7 +175,7 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
175175
/** Cancel an in-flight user allocated event
176176
*
177177
* Attempts to cancel an UserAllocatedEvent referenced by its address
178-
* It is safe to call cancel after an event has already been dispatched.
178+
* It is not safe to call cancel after an event has already been dispatched.
179179
*
180180
* Event must be valid i.e. event must have not finished executing
181181
* and must have been bound to this queue.

0 commit comments

Comments
 (0)