zephyr/include
Peter Bigot 1c7bf96019 net: dns: update to new k_work API
Switch to the new API for delayed work related to DNS queries.

In the previous solution it was assumed that the work item could be
immediately cancelled at the point the query slot was released.  This
is not true.  We need a secondary condition to record the fact that
the query was completed while the work item was still pending, and an
additional check to detect when the work item completed and the slot
reclaimed.

Also annotate functions to indicate when they require the lock on
query content to be held, add some helpers that abstract core
operations like invoking a callback or releasing a query slot, and fix
some more cases where query slot content was accessed outside of the
new lock infrastructure.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2021-03-15 17:19:54 +02:00
..
app_memory kernel: move thread definitions to thread.h 2021-01-13 18:18:42 -05:00
arch aarch64: reset: initialize CNTFRQ_EL0 in the highest EL 2021-03-11 12:24:18 +01:00
audio audio: dmic: fix compile error on arm gcc 8 2021-02-16 15:29:16 +03:00
bluetooth Bluetooth: HCI: Add option CONFIG_BT_HCI_ACL_DATA_SIZE 2021-03-12 20:40:21 +02:00
canbus
cmsis_rtos_v1
cmsis_rtos_v2
console
crypto
data doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
debug debug: coredump: remove z_ prefix for stuff used outside subsys 2021-01-21 22:08:59 -05:00
devicetree devicetree: deprecate DT_IO_CHANNELS_LABEL APIs 2021-03-02 11:28:30 -06:00
dfu modules: introduce MCUBOOT_BOOTUTIL module 2021-01-14 18:03:38 +01:00
disk
display
drivers drivers/interrupt_controller: Get the IOAPIC RTEs dynamically 2021-03-12 09:23:08 -05:00
dt-bindings drivers: clock_control: mcux_mcg: add MCGOUTCLK define 2021-03-08 12:18:33 -06:00
fs include/fs: fixed typo in fs_file_t_init() description 2021-02-05 07:32:20 -05:00
ipc ipc: RPMsg service to register multiple endpoints 2021-01-19 22:07:09 +01:00
kernel kernel: Add new k_thread_abort()/k_thread_join() 2021-02-24 16:39:15 -05:00
linker device: add post-process of elf file to manage device handles 2021-02-19 15:46:16 -05:00
logging logging: Add backend parameter to the init function 2021-03-12 09:24:54 -05:00
lorawan lorawan: add callback for datarate changes 2021-02-28 16:36:57 -05:00
mgmt doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
net net: dns: update to new k_work API 2021-03-15 17:19:54 +02:00
posix net: sockets: Implement MSG_WAITALL recv flag 2021-03-12 13:57:11 -05:00
power power: Get rid of deep sleep and sleep concepts 2021-03-07 07:59:53 -05:00
random
settings
shell shell: add getopt library support 2021-03-01 09:50:32 -05:00
stats
storage storage/flash_map: Added function for get erased byte value 2020-10-30 15:53:38 +01:00
sys lib: os: cbprintf: Fix Z_C_GENERIC not being used 2021-03-12 09:25:15 -05:00
task_wdt task_wdt: add task-level watchdog subsystem 2021-03-15 12:24:54 +01:00
timing timing: do not repeatedly do init()/start()/stop() 2020-11-11 23:55:49 -05:00
toolchain xcc: we do not support build asserts 2021-03-08 16:04:28 -05:00
tracing
usb usb: hid: remove usb_hid_descriptor from public header 2021-02-28 16:50:24 -05:00
zephyr zephyr: Remove support for deprecated int types 2021-03-05 04:56:13 -06:00
cache.h cache: libmetal: Redirect sys_cache_flush() 2021-01-19 14:31:02 -05:00
device.h device: add API to visit required devices 2021-03-11 08:53:18 -05:00
devicetree.h devicetree: add DT_NODE_FULL_NAME() 2021-02-25 19:24:08 -06:00
ec_host_cmd.h
emul.h
exc_handle.h
fatal.h
generated_dts_board.h license: add missing SPDX headers 2021-02-11 08:05:16 -05:00
init.h device: deprecate DEVICE_AND_API_INIT 2021-01-12 08:31:12 -06:00
irq_nextlevel.h
irq_offload.h
irq.h irq: document requirement that irq_lock/unlock provides a memory barrier 2021-01-26 13:42:17 -05:00
kernel_includes.h kernel: move thread definitions to thread.h 2021-01-13 18:18:42 -05:00
kernel_structs.h kernel: Remove abort and join implementation (UNBISECTABLE) 2021-02-24 16:39:15 -05:00
kernel_version.h
kernel.h doc: Replace *_thread_resource_pool_assign with k_thread_heap_assign 2021-03-11 18:22:12 -05:00
mempool_heap.h kernel: Remove z_mem_pool wrapper internals 2020-12-07 21:50:14 -05:00
ptp_clock.h
sched_priq.h
shared_irq.h
spinlock.h kernel: fix usage of KERNEL_COHERENCE macro 2021-02-03 10:42:04 -05:00
sw_isr_table.h
sys_clock.h api: add C++ friendly version of Z_TIMEOUT_TICKS. 2021-01-20 09:23:20 -05:00
syscall_handler.h kernel: Cleanup logger setup in kernel files 2020-11-27 09:56:34 -05:00
syscall.h
timeout_q.h
toolchain.h
wait_q.h
zephyr.h