Home
last modified time | relevance | path

Searched refs:thread (Results 251 – 275 of 920) sorted by relevance

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

/Zephyr-latest/drivers/ethernet/
DKconfig.esp3218 int "ESP32 Ethernet receive thread stack size"
22 int "ESP32 Ethernet receive thread priority"
DKconfig.ivshmem20 int "IVSHMEM Ethernet thread stack size"
24 int "IVSHMEM Ethernet thread priority"
/Zephyr-latest/tests/kernel/fifo/fifo_api/src/
Dtest_fifo_cancel.c17 static struct k_thread thread; variable
27 k_tid_t tid = k_thread_create(&thread, tstack, STACK_SIZE, in tfifo_thread_thread()
/Zephyr-latest/samples/kernel/metairq_dispatch/
DREADME.rst9 This sample demonstrates the use of a thread running at a MetaIRQ
14 a different priority. The dispatch is handled by a MetaIRQ thread fed
18 must happen in the worker thread. This implements a "bursty load"
25 the MetaIRQ thread for dispatch.
27 * The time between ISR and receipt by the worker thread.
29 * The real time spent processing the message in the worker thread, for
31 to measure preemption overhead where the thread is not scheduled.
40 by the MetaIRQ thread.
46 * But, no matter the system load or thread configuration, the MetaIRQ
47 thread always runs immediately after the ISR. It shows reliable,
[all …]
/Zephyr-latest/drivers/sensor/sx9500/
DKconfig34 bool "Use global thread"
40 bool "Use own thread"
48 int "Sensor delayed work thread stack size"
/Zephyr-latest/drivers/adc/
DKconfig.ads1x4s0x18 int "ADC ADS1X4S0X async thread priority"
23 int "Stack size for the ADC data acquisition thread"
28 thread.
/Zephyr-latest/samples/modules/tflite-micro/hello_world/
DCMakeLists.txt7 # C++ ABI for thread-safe initialization of local statics and the constructors don't
8 # appear to require thread safety, we turn it off in the C++ compiler.
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/
DCMakeLists.txt7 # C++ ABI for thread-safe initialization of local statics and the constructors don't
8 # appear to require thread safety, we turn it off in the C++ compiler.
/Zephyr-latest/include/zephyr/posix/
Dpthread.h432 int pthread_timedjoin_np(pthread_t thread, void **status, const struct timespec *abstime);
433 int pthread_tryjoin_np(pthread_t thread, void **status);
434 int pthread_join(pthread_t thread, void **status);
436 int pthread_detach(pthread_t thread);
446 int pthread_setschedprio(pthread_t thread, int prio);
496 int pthread_setname_np(pthread_t thread, const char *name);
513 int pthread_getname_np(pthread_t thread, char *name, size_t len);
/Zephyr-latest/drivers/sensor/bosch/bma280/
DKconfig27 bool "Use global thread"
33 bool "Use own thread"
48 Priority of thread used by the driver to handle interrupts.
55 Stack size of thread used by the driver to handle interrupts.
/Zephyr-latest/arch/riscv/core/
Dcoredump.c122 void arch_coredump_priv_stack_dump(struct k_thread *thread) in arch_coredump_priv_stack_dump() argument
128 start_addr = thread->arch.priv_stack_start + Z_RISCV_STACK_GUARD_SIZE; in arch_coredump_priv_stack_dump()
130 start_addr = thread->stack_info.start - CONFIG_PRIVILEGED_STACK_SIZE; in arch_coredump_priv_stack_dump()
132 end_addr = Z_STACK_PTR_ALIGN(thread->arch.priv_stack_start + K_KERNEL_STACK_RESERVED + in arch_coredump_priv_stack_dump()
/Zephyr-latest/arch/arc/
DCMakeLists.txt17 # Instruct compiler to use proper register as cached thread pointer for thread local storage.
22 # If thread local storage isn't used - we can safely schedule thread pointer register
/Zephyr-latest/doc/kernel/services/data_passing/
Dstacks.rst32 A data value can be **added** to a stack by a thread or an ISR.
33 The value is given directly to a waiting thread, if one exists;
42 A data value may be **removed** from a stack by a thread.
43 If the stack's queue is empty a thread may choose to wait for it to be given.
45 When a data item is added, it is given to the highest priority thread
61 provided and it is instead allocated from the calling thread's resource
91 The following code builds on the example above, and shows how a thread
114 The following code builds on the example above, and shows how a thread
116 When the data structure is no longer required, the thread must push
/Zephyr-latest/subsys/usb/host/
DKconfig42 USB host thread initialization priority level.
45 int "USB host stack thread stack size"
48 USB host stack thread stack size in bytes.
/Zephyr-latest/tests/kernel/profiling/profiling_api/src/
Dmain.c20 static void tdata_dump_callback(const struct k_thread *thread, void *user_data) in tdata_dump_callback() argument
22 log_stack_usage(thread); in tdata_dump_callback()
/Zephyr-latest/subsys/shell/
DKconfig.template.shell_log_queue_size8 by shell thread. Too small queue may lead to the logger thread being blocked
/Zephyr-latest/tests/ztest/error_hook/
DREADME.txt68 - start a thread to test triggering a null address dereferencing, then catch
70 - start a thread to test triggering an illegal instruction, then catch
72 - start a thread to test triggering a divide-by-zero error, then catch
74 - start a thread to call k_oops() then catch the (expected) fatal error.
75 - start a thread to call k_panel() then catch the (expected) fatal error.
78 - start a thread to enter ISR context by calling irq_offload(), then trigger
112 E: Access violation: user thread not allowed to read
121 E: Current thread: 0x114000 (unknown)
126 E: Access violation: user thread not allowed to execute
135 E: Current thread: 0x114000 (unknown)
[all …]
/Zephyr-latest/subsys/debug/
Dthread_analyzer.c94 struct k_thread *thread = (struct k_thread *)cthread; in thread_analyze_cb() local
98 size_t size = thread->stack_info.size; in thread_analyze_cb()
111 name = k_thread_name_get((k_tid_t)thread); in thread_analyze_cb()
114 snprintk(hexname, sizeof(hexname), "%p", (void *)thread); in thread_analyze_cb()
117 err = k_thread_stack_space_get(thread, &unused); in thread_analyze_cb()
144 if (k_thread_runtime_stats_get(thread, &info.usage) != 0) { in thread_analyze_cb()
/Zephyr-latest/modules/canopennode/
DKconfig80 bool "CANopen SYNC thread"
83 Enable internal thread for processing CANopen SYNC RPDOs and
88 int "Stack size for the CANopen SYNC thread"
92 Size of the stack used for the internal thread which
96 int "Priority for CANopen SYNC thread"
101 Priority level of the internal thread which processes
/Zephyr-latest/doc/kernel/services/synchronization/
Dsemaphores.rst30 A semaphore may be **given** by a thread or an ISR. Giving the semaphore
33 A semaphore may be **taken** by a thread. Taking the semaphore
35 When a semaphore is unavailable a thread may choose to wait for it to be given.
37 When the semaphore is given, it is taken by the highest priority thread
44 to create a gate through which no waiting thread may pass until the semaphore
84 indicate that a unit of data is available for processing by a consumer thread.
90 /* notify thread that data is available */
144 thread when user mode enabled. When user mode isn't enabled, sys_sem behaves
/Zephyr-latest/doc/hardware/arch/
Darm_cortex_m.rst32 | Single-thread kernel support | | Y | Y |…
99 Each Zephyr thread is defined with its own stack memory. By default, Cortex-M enforces a double wor…
101 is enabled, thread stacks need to be aligned with a larger value, reflected by :kconfig:option:`CON…
102 In Arm v6-M and Arm v7-M architecture variants, thread stacks are additionally required to align wi…
103 in applications that need to support user mode (:kconfig:option:`CONFIG_USERSPACE`). The thread sta…
110 While executing in thread mode the processor is using the Process Stack Pointer (PSP). The processo…
111 …that is, while servicing exceptions and HW interrupts. Using PSP in thread mode *facilitates thread
112 stack pointer manipulation* during thread context switching, without affecting the current executio…
119 …g early boot so the kernel can initialize the main thread's stack before switching to the main thr…
124 …-M builds, the PendSV exception is used in order to trigger a context switch to a different thread.
[all …]
/Zephyr-latest/arch/arm/include/cortex_a_r/
Dkernel_arch_func.h56 arch_thread_return_value_set(struct k_thread *thread, unsigned int value) in arch_thread_return_value_set() argument
58 thread->arch.swap_return_value = value; in arch_thread_return_value_set()
/Zephyr-latest/arch/x86/core/ia32/
Dcoredump.c86 void arch_coredump_priv_stack_dump(struct k_thread *thread) in arch_coredump_priv_stack_dump() argument
92 hdr_stack_obj = (struct z_x86_thread_stack_header *)thread->stack_info.mapped.addr; in arch_coredump_priv_stack_dump()
94 hdr_stack_obj = (struct z_x86_thread_stack_header *)thread->stack_obj; in arch_coredump_priv_stack_dump()
/Zephyr-latest/drivers/sensor/st/lsm6dso/
DKconfig32 bool "Use global thread"
38 bool "Use own thread"
54 Priority of thread used by the driver to handle interrupts.
61 Stack size of thread used by the driver to handle interrupts.
/Zephyr-latest/drivers/sensor/st/stts751/
DKconfig29 bool "Use global thread"
35 bool "Use own thread"
50 Priority of thread used by the driver to handle interrupts.
57 Stack size of thread used by the driver to handle interrupts.

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