kernel: Deprecate CONFIG_MULTITHREADING

Deprecate the Kconfig option for the time being. Unless a contributor
volunteers to take over the work to maintain the option, it will be
removed after 2 releases.

Relates to #27415.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2020-09-02 18:51:10 +02:00 committed by Maureen Helm
commit 28cb9dab64
3 changed files with 13 additions and 1 deletions

View file

@ -50,6 +50,10 @@ if(${CONFIG_KERNEL_MEM_POOL})
endif()
endif()
if(NOT CONFIG_MULTITHREADING)
message(WARNING "Single threaded mode (CONFIG_MULTITHREADING=n) is deprecated")
endif()
# The last 2 files inside the target_sources_ifdef should be
# userspace_handler.c and userspace.c. If not the linker would complain.
# This order has to be maintained. Any new file should be placed