zephyr/subsys/shell
Bjarki Arge Andreasen a39285b720 shell: exchange k_poll for k_event
The shell subsystem currently uses k_poll for signalling. However,
k_poll is only used for simple event signals, results are not used.

Replacing the k_poll with k_event greatly simplifies the code, and
saves 4 struct k_poll_signal and 4 struct k_poll_event (one of which
was entirely unused) while costing a single struct k_event, for
every shell instance. It also allows us to not select POLL,
as we are using the simpler EVENTS instead.

A quick test build of the shell test suite on an nrf54l15 produces
the following build info:

using EVENTS:

           FLASH:       71592 B      1428 KB      4.90%
             RAM:        9872 B       188 KB      5.13%
        IDT_LIST:          0 GB        32 KB      0.00%

using POLL

           FLASH:       75524 B      1428 KB      5.16%
             RAM:       11224 B       188 KB      5.83%
        IDT_LIST:          0 GB        32 KB      0.00%

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-07-22 19:34:02 -04:00
..
backends net: mgmt: Convert the mgmt API to use 64-bit masks 2025-06-18 10:54:44 +02:00
modules shell: move date_service to sys_clock api 2025-07-19 15:30:29 -04:00
CMakeLists.txt
Kconfig shell: exchange k_poll for k_event 2025-07-22 19:34:02 -04:00
Kconfig.template.shell_log_queue_size
Kconfig.template.shell_log_queue_timeout
shell_cmds.c
shell_fprintf.c
shell_help.c shell: Introduce structured help message 2025-06-11 09:55:21 +02:00
shell_help.h
shell_history.c
shell_log_backend.c shell: exchange k_poll for k_event 2025-07-22 19:34:02 -04:00
shell_ops.c shell: exchange k_poll for k_event 2025-07-22 19:34:02 -04:00
shell_ops.h
shell_utils.c
shell_utils.h
shell_vt100.h
shell_wildcard.c
shell_wildcard.h
shell.c shell: exchange k_poll for k_event 2025-07-22 19:34:02 -04:00