File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,11 @@ namespace mbed {
45
45
* for the event loop to work without an RTOS, or an RTOS system can can save
46
46
* memory by reusing the main stack.
47
47
*
48
+ * @note
49
+ * mbed_event_queue is not itself IRQ safe. To use the mbed_event_queue in
50
+ * interrupt context, you must first call `mbed_event_queue()` in threaded
51
+ * context and store the pointer for later use.
52
+ *
48
53
* @return pointer to event queue
49
54
*/
50
55
events::EventQueue *mbed_event_queue ();
@@ -67,6 +72,12 @@ events::EventQueue *mbed_event_queue();
67
72
* or less, but could occasionally be significantly higher if many events are
68
73
* queued.
69
74
*
75
+ * @note
76
+ * mbed_highprio_event_queue is not itself IRQ safe. To use the
77
+ * mbed_highprio_event_queue in interrupt context, you must first call
78
+ * `mbed_event_queue()` in threaded context and store the pointer for
79
+ * later use.
80
+ *
70
81
* @return pointer to high-priority event queue
71
82
*/
72
83
You can’t perform that action at this time.
0 commit comments