Home
last modified time | relevance | path

Searched refs:thread (Results 301 – 325 of 920) sorted by relevance

1...<<11121314151617181920>>...37

/Zephyr-latest/include/zephyr/sys/
Dp4wq.h49 struct k_thread *thread; member
201 void k_p4wq_add_thread(struct k_p4wq *queue, struct k_thread *thread,
245 void k_p4wq_enable_static_thread(struct k_p4wq *queue, struct k_thread *thread,
/Zephyr-latest/doc/kernel/services/threads/
Dworkqueue.rst10 A :dfn:`workqueue` is a kernel object that uses a dedicated thread to process
13 used by an ISR or a high-priority thread to offload non-urgent processing
14 to a lower-priority thread so it does not impact time-sensitive processing.
23 * A **thread** that processes the work items in the queue. The priority of the
24 thread is configurable, allowing it to be either cooperative or preemptive
27 Regardless of workqueue thread priority the workqueue thread will yield
32 empty and spawns the workqueue's thread. The thread runs forever, but sleeps
67 executed by the workqueue's thread when the work item is processed. This
75 workqueue by an ISR or a thread. Submitting a work item appends the work item
76 to the workqueue's queue. Once the workqueue's thread has processed all of
[all …]
/Zephyr-latest/drivers/can/
DKconfig.native_linux17 int "Priority for internal RX thread"
20 Priority level of the internal thread which is run for
DKconfig.mcp251xfd37 Size of the stack used for internal thread which is ran for
45 higher priority. The thread is cooperative and will not be interrupted by
46 another thread until execution is released.
DKconfig.mcp251520 Size of the stack used for internal thread which is ran for
27 Priority level of the internal thread which is ran for
/Zephyr-latest/drivers/sensor/tdk/icm42x70/
DKconfig54 bool "Use global thread"
62 bool "Use own thread"
79 Priority of thread used by the driver to handle interrupts.
86 Stack size of thread used by the driver to handle interrupts.
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v1/philosophers/
DREADME.rst10 multi-thread synchronization problem) using CMSIS RTOS V1 APIs. This particular
12 threads of differing priorities, as well as mutex/semaphore and thread sleeping
53 problem (a classic multi-thread synchronization problem) using
56 priorities, as well as semaphores and thread sleeping.
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v2/philosophers/
DREADME.rst10 multi-thread synchronization problem) using CMSIS RTOS V2 APIs. This particular
12 threads of differing priorities, as well as mutex/semaphore and thread sleeping
53 problem (a classic multi-thread synchronization problem) using
56 priorities, as well as semaphores and thread sleeping.
/Zephyr-latest/drivers/sensor/bosch/bmi160/
DKconfig28 bool "Use global thread"
34 bool "Use own thread"
44 int "Own thread priority"
48 The priority of the thread used for handling interrupts.
51 int "Own thread stack size"
55 The thread stack size.
/Zephyr-latest/kernel/
Dqueue.c81 static void prepare_thread_to_run(struct k_thread *thread, void *data) in prepare_thread_to_run() argument
83 z_thread_return_value_set_with_data(thread, 0, data); in prepare_thread_to_run()
84 z_ready_thread(thread); in prepare_thread_to_run()
270 struct k_thread *thread = NULL; in k_queue_append_list() local
273 thread = z_unpend_first_thread(&queue->wait_q); in k_queue_append_list()
276 while ((head != NULL) && (thread != NULL)) { in k_queue_append_list()
278 prepare_thread_to_run(thread, head); in k_queue_append_list()
280 thread = z_unpend_first_thread(&queue->wait_q); in k_queue_append_list()
Duserspace.c524 static unsigned int thread_index_get(struct k_thread *thread) in thread_index_get() argument
528 ko = k_object_find(thread); in thread_index_get()
614 void k_thread_perms_set(struct k_object *ko, struct k_thread *thread) in k_thread_perms_set() argument
616 int index = thread_index_get(thread); in k_thread_perms_set()
623 void k_thread_perms_clear(struct k_object *ko, struct k_thread *thread) in k_thread_perms_clear() argument
625 int index = thread_index_get(thread); in k_thread_perms_clear()
640 void k_thread_perms_all_clear(struct k_thread *thread) in k_thread_perms_all_clear() argument
642 uintptr_t index = thread_index_get(thread); in k_thread_perms_all_clear()
701 void z_impl_k_object_access_grant(const void *object, struct k_thread *thread) in z_impl_k_object_access_grant() argument
706 k_thread_perms_set(ko, thread); in z_impl_k_object_access_grant()
[all …]
/Zephyr-latest/doc/kernel/services/data_passing/
Dlifos.rst33 allocated from the calling thread's resource pool.
41 A data item may be **added** to a LIFO by a thread or an ISR.
42 The item is given directly to a waiting thread, if one exists;
46 A data item may be **removed** from a LIFO by a thread. If the LIFO's queue
47 is empty a thread may choose to wait for a data item to be given.
49 When a data item is added, it is given to the highest priority thread
115 thread's resource pool until the item is read.
123 to obtain data items from a producer thread,
/Zephyr-latest/subsys/usb/host/
DKconfig.usbip19 int "USBIP thread stack size"
22 USBIP thread stack size in bytes.
/Zephyr-latest/drivers/modem/
DKconfig.wncm14a2a18 int "Size of the stack for the WNC-M14A2A modem driver RX thread"
21 This stack is used by the WNCM14A2A RX thread.
28 to the rest of the network stack, letting the rx thread continue
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v1/timer_synchronization/
DREADME.rst11 The main thread creates a preemptive thread which writes message to message queue
12 and on timer expiry, message is read by main thread.
/Zephyr-latest/samples/subsys/portability/cmsis_rtos_v2/timer_synchronization/
DREADME.rst11 The main thread creates a preemptive thread which writes message to message queue
12 and on timer expiry, message is read by main thread.
/Zephyr-latest/arch/x86/core/
Dfatal.c100 struct k_thread *thread = _current; in z_x86_check_guard_page() local
104 start = (uintptr_t)thread->stack_info.mapped.addr - CONFIG_MMU_PAGE_SIZE; in z_x86_check_guard_page()
105 end = (uintptr_t)thread->stack_info.mapped.addr; in z_x86_check_guard_page()
112 start = (uintptr_t)thread->stack_info.mapped.addr + thread->stack_info.mapped.sz; in z_x86_check_guard_page()
188 const struct k_thread *thread, const struct arch_esf *esf) in arch_stack_walk() argument
190 ARG_UNUSED(thread); in arch_stack_walk()
/Zephyr-latest/samples/arch/mpu/mpu_test/
DREADME.rst29 To build the single thread version, use the supplied configuration file for
30 single thread: :file:`prj_single.conf`:
60 <err> os: Current thread: 0x20000708 (shell_uart)
76 <err> os: Current thread: 0x20000708 (shell_uart)
90 <err> os: Current thread: 0x20000708 (shell_uart)
118 <err> os: Current thread: 0x200006a8 (shell_uart)
131 <err> os: Current thread: 0x200006a8 (shell_uart)
/Zephyr-latest/tests/benchmarks/sched_queues/src/
Dmain.c41 extern void z_unready_thread(struct k_thread *thread);
232 struct k_thread *thread; in main() local
301 thread = &test_thread[CONFIG_BENCHMARK_NUM_THREADS - i - 1]; in main()
304 tag, thread->base.prio); in main()
319 thread = &test_thread[CONFIG_BENCHMARK_NUM_THREADS - i - 1]; in main()
322 tag, thread->base.prio); in main()
/Zephyr-latest/tests/kernel/ipi_optimize/src/
Dmain.c20 static struct k_thread thread[NUM_THREADS]; variable
132 k_thread_create(&thread[i], stack[i], STACK_SIZE, in busy_threads_create()
161 k_thread_priority_set(&thread[i], priority); in busy_threads_priority_set()
364 k_thread_priority_set(&thread[0], priority); in ZTEST()
377 if (_kernel.cpus[i].current == &thread[j]) { in ZTEST()
462 k_thread_abort(&thread[i]); in cleanup_threads()
/Zephyr-latest/tests/kernel/common/src/
Dtimeout_order.c18 static void thread(void *p1, void *p2, void *p3) in thread() function
57 thread, INT_TO_POINTER(ii), 0, 0, in ZTEST()
/Zephyr-latest/tests/kernel/common/
Dmultilib.txt16 Executing thread ID (thread): 0x200002a0
/Zephyr-latest/subsys/usb/device_next/class/
DKconfig.msc14 int "USB MSC thread stack size"
17 USB MSC thread stack size.
/Zephyr-latest/doc/hardware/peripherals/sensor/
Dfetch_and_get.rst15 must be a thread until the requested :c:enum:`sensor_channel` (or all channels)
51 handlers. Either the trigger handler is run using the system work queue thread
52 (:ref:`workqueues_v2`) or a dedicated thread. A great example can be found in
56 :kconfig:option:`CONFIG_BMI160_TRIGGER_OWN_THREAD` (dedicated thread).
58 Some notable attributes of using a driver dedicated thread vs the system work
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
DKconfig43 bool "Use global thread"
51 bool "Use own thread"
70 Priority of thread used by the driver to handle interrupts.
77 Stack size of thread used by the driver to handle interrupts.

1...<<11121314151617181920>>...37