zephyr/include
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
..
app_memory
arch thread: set mxcsr bit 6 DAZ to zero to disable denormals-are-zeros 2021-09-22 08:34:18 -04:00
audio
bluetooth Bluetooth: hci: Align terms with the Bluetooth v5.3 spec 2021-09-17 16:05:01 +02:00
canbus modules: canopennode: move glue code to modules directory 2021-07-01 13:32:18 -04:00
console doc: Fix a few typos in docs/comments/messages 2021-09-03 06:06:59 -04:00
crypto
data json: cleanup extra line in between macro/function parameters 2021-08-26 17:11:13 -05:00
debug kernel: remove object tracing 2021-05-07 22:10:21 -04:00
devicetree devicetree: add devicetree/pinctrl.h 2021-08-25 18:09:00 -04:00
dfu dfu: boot: Add implementation for multi-image swap type check 2021-08-26 09:13:13 -04:00
disk
display toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
drivers drivers: syscon: Add support for multiple regions 2021-09-22 10:32:11 -04:00
dt-bindings dt-bindings: gic: Fix conflicting flags 2021-08-31 15:35:33 -04:00
fs include/fs: Remove definitions of ssize_t and off_t 2021-08-26 06:53:28 -04:00
ipc ipc: rpmsg_multi_instance: Fix misleading types 2021-08-30 13:42:45 -04:00
kernel kernel: macro to define pinned kernel thread stacks 2021-08-26 21:16:22 -04:00
linker linker: align __itcm_load_start / __dtcm_data_load_start linker symbols 2021-08-28 08:48:03 -04:00
logging toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
lorawan lorawan: port oriented downlink callbacks 2021-04-30 13:05:10 -05:00
mgmt subsys/mgmt/hawkbit: Prevent multiple instances of hawkbit_probe 2021-08-18 20:10:21 -04:00
modbus
net drivers: ieee802154: remove ieee802154_radio_handle_ack() stub 2021-09-21 18:28:25 -04:00
pm pm: Fix function prototype visibility 2021-09-12 18:20:34 -04:00
portability cmsis_rtos_v1: fix thread instances management. 2021-09-09 12:01:06 -04:00
posix ARC: MWDT: workaround for double clockid_t definition 2021-08-13 13:43:19 -05:00
power pm: deprecate power/power.h header 2021-05-05 18:35:49 -04:00
random
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
sys lib: libc: Drop z_ prefix from stdio syscalls 2021-09-11 04:47:01 -04:00
task_wdt
timing
toolchain armclang: adding toolchain/armclang.h header 2021-08-30 08:54:23 -04:00
tracing tracing: Add user-definable tracing interface 2021-09-02 06:54:35 -04:00
usb include: usb: deprecate usb_common.h and usbstruct.h 2021-08-03 13:20:07 +02:00
zephyr
cache.h cache: Do not warn on unused parameters 2021-05-25 07:05:22 -05:00
device.h device: Fix device from handle function 2021-09-09 19:43:48 -04:00
devicetree.h devicetree: add devicetree/pinctrl.h 2021-08-25 18:09:00 -04:00
ec_host_cmd.h
emul.h
exc_handle.h
fatal.h
init.h
irq_nextlevel.h
irq_offload.h irq_offload: Remove ifdef from the api 2021-04-29 14:50:35 +02:00
irq.h doc: fix display of the ISR_DIRECT_DECLARE example usage 2021-05-07 20:52:02 -04:00
kernel_includes.h kernel: move internal headers into include/kernel 2021-06-16 20:38:55 -04:00
kernel_structs.h kernel: Remove unused timeout_q from z_kernel 2021-09-01 19:51:08 -04:00
kernel_version.h
kernel.h kernel: add public API doc for K_SSE_REGS 2021-09-03 10:00:02 -04:00
ptp_clock.h
shared_irq.h
spinlock.h
sw_isr_table.h
sys_clock.h
syscall_handler.h
syscall.h kernel: syscall: pin generated inline functions 2021-08-26 21:16:22 -04:00
timeout_q.h
toolchain.h armclang: adding toolchain/armclang.h header 2021-08-30 08:54:23 -04:00
wait_q.h kernel: move internal headers into include/kernel 2021-06-16 20:38:55 -04:00
zephyr.h