zephyr/subsys
Michał Barnaś 01a01de594 shell: fix polling TXDONE signal by multiple threads
This patch fixes the issue that can cause a deadlock in shell.
When two threads simultaneously poll the TXDONE signal, only one
of them will receive it, leaving second one stalled.
The problem was that shell's context contains k_poll_event objects that
were polled by multiple threads. Polling it overwrites the poller field
that was set by previous thread.
Instead, the k_poll_event object must be created on the stack by every
thread that wants to poll the TXDONE signal.
This makes sure that no thread will be left waiting for this signal
forever.

Signed-off-by: Michał Barnaś <mb@semihalf.com>
2021-09-23 04:18:22 -04:00
..
bluetooth bluetooth: host: conn: Fix conn param during l2cap fallback 2021-09-23 10:04:31 +02:00
canbus modules: canopennode: move glue code to modules directory 2021-07-01 13:32:18 -04:00
console console: remove device_get_binding(CONFIG_UART_CONSOLE_ON_DEV_NAME) 2021-08-23 18:53:47 -04:00
cpp ARC: MWDT: get rid of MWDT startup libs 2021-09-01 17:08:32 -04:00
debug debug: thread_info: stack pointer is not supported for xtensa 2021-09-09 19:06:38 -04:00
demand_paging demand_paging: eviction/nru: fix incorrect dirty bit return val 2021-09-20 19:43:02 -04:00
dfu dfu: boot: Add implementation for multi-image swap type check 2021-08-26 09:13:13 -04:00
disk
emul emul: espi: Add ACPI Shared Memory functions 2021-08-26 13:14:05 -04:00
fb
fs fs: fat_fs: Fix fs_statvfs when using variable sector sizes 2021-08-26 06:53:57 -04:00
ipc ipc: rpmsg_multi_instance: Re-organize the init function 2021-08-30 13:42:45 -04:00
jwt
logging logging: log_core: add extra space in missed strdup err msg 2021-09-13 05:54:13 -04:00
lorawan lorawan: Fix setting APP_KEY using MacMibSetRequest 2021-07-22 06:11:41 -04:00
mgmt subsys/mgmt/hawkbit: Check retval of mbedtls_md_update 2021-09-14 12:28:40 -04:00
modbus modbus: copy trans_id & proto_id to response header 2021-08-26 06:56:25 -04:00
net net: lwm2m: Fix Registration failue reporting 2021-09-21 09:32:31 -05:00
pm pm: Allow override constraints implementation 2021-09-13 05:50:54 -04:00
portability cmsis_rtos_v1: fix thread instances management. 2021-09-09 12:01:06 -04:00
random subsys/random: change parameters for timer-based PRNG 2021-08-30 09:32:36 -04:00
settings toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
shell shell: fix polling TXDONE signal by multiple threads 2021-09-23 04:18:22 -04:00
stats
storage storage/flash_map: Fix flash area bounds checking 2021-05-25 16:59:01 -05:00
task_wdt task_wdt: Fix the way the kernel timer is used 2021-07-07 07:44:22 -05:00
testsuite testsuite: suppress usage of setjmp in a testcode (rule 21_4-a) 2021-09-03 10:14:57 -04:00
timing
tracing tests: subsys: fixed the samples/tracing code can not generate coverage 2021-09-08 10:28:10 -04:00
usb usb: Fix building error in usb_descriptor with misra test 2021-09-01 12:34:01 -05:00
CMakeLists.txt usb: remove Kconfig option CONFIG_USB 2021-08-03 19:00:12 -04:00
Kconfig pm: move power subsystem to pm 2021-05-05 18:35:49 -04:00