zephyr/subsys/net/conn_mgr
Robert Lubos c15e3d448c net: conn_mgr: Create conn_mgr thread dynamically
Statically created threads with K_THREAD_DEFINE() are launched only
after the SYS_INIT phase. This does not play well with NET_CONFIG
library, which may block during SYS_INIT until network interface
is UP and RUNNING.

In order to be able to connect to L2 network and thus mark the
network interface as running and unblock NET_CONFIG, we need to be
able to run conn_mgr thread during SYS_INIT. This can be achieved,
by starting the thread dynamically during SYS_INIT phase, instead
of relying on static thread creation.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2023-07-14 09:37:37 +02:00
..
CMakeLists.txt
Kconfig net: conn_mgr: Support Auto-Down 2023-06-30 16:10:23 +02:00
conn_mgr.c net: conn_mgr: Create conn_mgr thread dynamically 2023-07-14 09:37:37 +02:00
conn_mgr.ld
conn_mgr_connectivity.c net: conn_mgr: Bulk convenience functions 2023-06-30 16:10:23 +02:00
conn_mgr_private.h net: conn_mgr: Support Auto-Down 2023-06-30 16:10:23 +02:00
events_handler.c