Skip to content

Commit bfad972

Browse files
pabigotnashif
authored andcommitted
kernel: remove k_alert API
This API was used in only one place in non-test code. See whether we can remove it. Closes zephyrproject-rtos#12232 Signed-off-by: Peter A. Bigot <[email protected]>
1 parent b026a34 commit bfad972

File tree

20 files changed

+2
-1266
lines changed

20 files changed

+2
-1266
lines changed

doc/api/kernel_api.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -109,16 +109,6 @@ with basic priority inheritance.
109109
.. doxygengroup:: mutex_apis
110110
:project: Zephyr
111111

112-
Alerts
113-
******
114-
115-
Alerts enable an application to perform asynchronous signaling,
116-
somewhat akin to Unix-style signals.
117-
(See :ref:`alerts_v2`.)
118-
119-
.. doxygengroup:: alert_apis
120-
:project: Zephyr
121-
122112
FIFOs
123113
*****
124114

doc/kernel/other/interrupts.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,8 @@ processing to a thread.
166166
* An ISR can signal a helper thread to do interrupt-related processing
167167
using a kernel object, such as a fifo, lifo, or semaphore.
168168

169-
* An ISR can signal an alert which causes the system workqueue thread
170-
to execute an associated alert handler function.
171-
(See :ref:`alerts_v2`.)
172-
173169
* An ISR can instruct the system workqueue thread to execute a work item.
174-
(See TBD.)
170+
(See :ref:`workqueues_v2`.)
175171

176172
When an ISR offloads work to a thread, there is typically a single context
177173
switch to that thread when the ISR completes, allowing interrupt-related

doc/kernel/synchronization/alerts.rst

Lines changed: 0 additions & 240 deletions
This file was deleted.

doc/kernel/synchronization/synchronization.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ of different threads, or the operation of an ISR and a thread.
1111

1212
semaphores.rst
1313
mutexes.rst
14-
alerts.rst

include/debug/object_tracing.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ extern struct k_mem_slab *_trace_list_k_mem_slab;
2020
extern struct k_mem_pool *_trace_list_k_mem_pool;
2121
extern struct k_sem *_trace_list_k_sem;
2222
extern struct k_mutex *_trace_list_k_mutex;
23-
extern struct k_alert *_trace_list_k_alert;
2423
extern struct k_fifo *_trace_list_k_fifo;
2524
extern struct k_lifo *_trace_list_k_lifo;
2625
extern struct k_stack *_trace_list_k_stack;

0 commit comments

Comments
 (0)