1# Copyright (c) 2024 Croxel Inc. 2# SPDX-License-Identifier: Apache-2.0 3 4config RTIO_WORKQ 5 bool "RTIO Work-queues service to process Sync operations" 6 select SCHED_DEADLINE 7 select RTIO_CONSUME_SEM 8 help 9 Enable RTIO Work-queues to allow processing synchronous operations 10 in an asynchronous non-blocking fashion. 11 12if RTIO_WORKQ 13 14config RTIO_WORKQ_PRIO_MED 15 int "Medium Thread priority of RTIO Work-queues" 16 default MAIN_THREAD_PRIORITY 17 18config RTIO_WORKQ_STACK_SIZE 19 int "Thread stack-size of RTIO Workqueues" 20 default 2048 21 22config RTIO_WORKQ_THREADS_POOL 23 int "Number of threads to use for processing work-items" 24 default 1 25 26config RTIO_WORKQ_POOL_ITEMS 27 int "Pool of work items to use with the RTIO Work-queues" 28 default 4 29 help 30 Configure the Pool of work items appropriately to your 31 application, the more simultaneous requests you expect 32 to issue, the bigger this pool should be. 33 34endif # RTIO_WORKQ 35