zephyr/include/shell
Pete Skeggs 75a74bfad2 shell: make flag modification atomic
Add Z_SHELL_SET_FLAG_ATOMIC macro to use technique from
shell_process() to atomically set and return the previous
value.

Change all void z_flag_*_set() functions to bool z_flag_*_set()
and use macro to return previous value after setting.

Modify shell_process() to use this modified z_flag_processing_set()
function.

Reorder flags to keep last_nl on byte boundary.

Add public setters for insert_mode, echo, and mode_delete for
completeness.

Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
2021-03-24 05:44:14 -04:00
..
shell_dummy.h
shell_fprintf.h shell: internal api update: fprintf 2021-01-14 12:07:25 +01:00
shell_getopt.h shell: add getopt library support 2021-03-01 09:50:32 -05:00
shell_history.h shell: internal api update: history module 2021-01-14 12:07:25 +01:00
shell_log_backend.h shell: internal api update: log backend 2021-01-14 12:07:25 +01:00
shell_rtt.h
shell_telnet.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
shell_types.h
shell_uart.h shell: internal api update: uart backend 2021-01-14 12:07:25 +01:00
shell.h shell: make flag modification atomic 2021-03-24 05:44:14 -04:00