| ############################################################################ | |
| # libs/libc/wqueue/Kconfig | |
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # | |
| # Licensed to the Apache Software Foundation (ASF) under one or more | |
| # contributor license agreements. See the NOTICE file distributed with | |
| # this work for additional information regarding copyright ownership. The | |
| # ASF licenses this file to you under the Apache License, Version 2.0 (the | |
| # "License"); you may not use this file except in compliance with the | |
| # License. You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | |
| # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | |
| # License for the specific language governing permissions and limitations | |
| # under the License. | |
| # | |
| ############################################################################ | |
| # | |
| # For a description of the syntax of this configuration file, | |
| # see the file kconfig-language.txt in the NuttX tools repository. | |
| # | |
| menu "User Work Queue Support" | |
| depends on !BUILD_FLAT | |
| config LIBC_USRWORK | |
| bool "User mode worker thread" | |
| default n | |
| depends on BUILD_PROTECTED || !DISABLE_PTHREAD | |
| ---help--- | |
| User-space work queues provide deferred processing in protected and | |
| kernel builds. Dynamically allocated user-mode work queues require | |
| pthread support. The predefined protected-build USRWORK queue does | |
| not require pthread support. | |
| if LIBC_USRWORK | |
| config LIBC_USRWORKPRIORITY | |
| int "User mode priority worker thread priority" | |
| default 100 | |
| ---help--- | |
| The execution priority of the user-mode priority worker thread. Default: 100 | |
| config LIBC_USRWORKSTACKSIZE | |
| int "User mode worker thread stack size" | |
| default DEFAULT_TASK_STACKSIZE | |
| ---help--- | |
| The stack size allocated for the lower priority worker thread. Default: 2K. | |
| endif # LIBC_USRWORK | |
| endmenu # User Work Queue Support |