zephyr/samples/net
James Harris b10428163a kernel: sem: add K_SEM_MAX_LIMIT
Currently there is no way to distinguish between a caller
explicitly asking for a semaphore with a limit that
happens to be `UINT_MAX` and a semaphore that just
has a limit "as large as possible".

Add `K_SEM_MAX_LIMIT`, currently defined to `UINT_MAX`, and akin
to `K_FOREVER` versus just passing some very large wait time.

In addition, the `k_sem_*` APIs were type-confused, where
the internal data structure was `uint32_t`, but the APIs took
and returned `unsigned int`. This changes the underlying data
structure to also use `unsigned int`, as changing the APIs
would be a (potentially) breaking change.

These changes are backwards-compatible, but it is strongly suggested
to take a quick scan for `k_sem_init` and `K_SEM_DEFINE` calls with
`UINT_MAX` (or `UINT32_MAX`) and replace them with `K_SEM_MAX_LIMIT`
where appropriate.

Signed-off-by: James Harris <james.harris@intel.com>
2021-03-05 08:13:53 -06:00
..
civetweb samples: http_server: fix test filters 2020-12-16 12:49:58 -05:00
cloud arm: nxp: kinetis: Rework device_get_binding for pinmux 2021-02-16 16:45:02 -06:00
common
dhcpv4_client zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dns_resolve zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dsa dsa: config: sample: Add SHELL support via RTT to DSA sample's prj.conf 2021-01-20 10:03:42 +02:00
eth_native_posix sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
gptp kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
gsm_modem samples: net: gsm: Add suspend/resume shell commands 2020-10-21 00:08:39 +03:00
ipv4_autoconf sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
lldp samples: net: Fix vlan error message in samples 2021-01-07 09:52:21 -06:00
lwm2m_client kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
mdns_responder net: dns: enable dns service discovery for mdns responder 2020-11-09 16:15:02 -08:00
mqtt_publisher samples/net/mqtt_publisher: undefined reference to z_impl_sys_rand32_get 2021-01-20 13:20:54 +02:00
openthread/coprocessor logging: Revamp menuconfig 2021-01-26 06:15:42 -05:00
promiscuous_mode zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sockets kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
stats samples: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
syslog_net samples: net: syslog: Add info how to manually start net backend 2021-01-26 07:12:14 -05:00
telnet zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
vlan samples: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
wifi samples: net: wifi: Enable inventek es-WIFI shield tests 2020-11-03 11:05:43 +01:00
wpan_serial samples: net: Adjust the thread priorities 2020-11-20 12:57:29 +02:00
wpanusb samples: net: Adjust the thread priorities 2020-11-20 12:57:29 +02:00
zperf samples: net: zperf: Allow DHCPv4 or manually set addresses 2020-12-01 16:32:07 +02:00
net.rst