Lines Matching +full:initial +full:- +full:key
2 * Copyright (c) 2010-2015 Wind River Systems, Inc.
5 * SPDX-License-Identifier: Apache-2.0
40 * "initial stack frame" in arch_new_thread()
45 thread_status->entry_point = entry; in arch_new_thread()
46 thread_status->arg1 = p1; in arch_new_thread()
47 thread_status->arg2 = p2; in arch_new_thread()
48 thread_status->arg3 = p3; in arch_new_thread()
50 thread_status->aborted = 0; in arch_new_thread()
53 thread->callee_saved.thread_status = thread_status; in arch_new_thread()
55 thread_status->thread_idx = posix_new_thread((void *)thread_status); in arch_new_thread()
67 thread_status = thread->callee_saved.thread_status; in arch_thread_name_set()
69 return -EAGAIN; in arch_thread_name_set()
72 thread_index = thread_status->thread_idx; in arch_thread_name_set()
75 return -EAGAIN; in arch_thread_name_set()
86 return -EAGAIN; in arch_thread_name_set()
96 z_thread_entry(ptr->entry_point, ptr->arg1, ptr->arg2, ptr->arg3); in posix_arch_thread_entry()
105 return -ENOTSUP; in arch_float_disable()
121 unsigned int key; in z_impl_k_thread_abort() local
128 thread->callee_saved.thread_status; in z_impl_k_thread_abort()
130 thread_idx = tstatus->thread_idx; in z_impl_k_thread_abort()
132 key = irq_lock(); in z_impl_k_thread_abort()
135 if (tstatus->aborted == 0) { /* LCOV_EXCL_BR_LINE */ in z_impl_k_thread_abort()
136 tstatus->aborted = 1; in z_impl_k_thread_abort()
149 if (tstatus->aborted == 0) { in z_impl_k_thread_abort()
155 tstatus->aborted = 1; in z_impl_k_thread_abort()
166 z_reschedule_irqlock(key); in z_impl_k_thread_abort()