zephyr/tests/net/lib
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
..
coap tests: net: coap: Acknowledgement initialization 2021-02-15 10:17:11 +02:00
dns_addremove net: mgmt: Use proper coop thread priority value 2021-02-17 16:42:15 +02:00
dns_packet tests: net: dns_packet: Disable Ethernet when test is run 2020-09-03 18:05:51 -04:00
dns_resolve net: dns: update to new k_work API 2021-03-15 17:19:54 +02:00
dns_sd tests: net: dns: dns-sd: tests for dns service discovery 2020-11-09 16:15:02 -08:00
http_header_fields
mqtt_packet zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mqtt_publisher net: mqtt: fix tests to use zsock_ functions 2020-10-01 17:35:45 +03:00
mqtt_pubsub tests: net: Adjust the thread priorities 2020-11-20 12:57:29 +02:00
mqtt_subscriber tests: net: Adjust the thread priorities 2020-11-20 12:57:29 +02:00
tls_credentials