Lines Matching refs:thread
51 #error Zero available thread priorities defined!
106 typedef void (*k_thread_user_cb_t)(const struct k_thread *thread,
455 #define k_thread_access_grant(thread, ...) \ argument
456 FOR_EACH_FIXED_ARG(k_object_access_grant, (;), (thread), __VA_ARGS__)
472 static inline void k_thread_heap_assign(struct k_thread *thread, in k_thread_heap_assign() argument
475 thread->resource_pool = heap; in k_thread_heap_assign()
499 __syscall int k_thread_stack_space_get(const struct k_thread *thread,
516 void k_thread_system_pool_assign(struct k_thread *thread);
538 __syscall int k_thread_join(struct k_thread *thread, k_timeout_t timeout);
638 __syscall void k_wakeup(k_tid_t thread);
695 __syscall void k_thread_abort(k_tid_t thread);
709 __syscall k_ticks_t k_thread_timeout_expires_ticks(const struct k_thread *thread);
712 const struct k_thread *thread) in z_impl_k_thread_timeout_expires_ticks() argument
714 return z_timeout_expires(&thread->base.timeout); in z_impl_k_thread_timeout_expires_ticks()
724 __syscall k_ticks_t k_thread_timeout_remaining_ticks(const struct k_thread *thread);
727 const struct k_thread *thread) in z_impl_k_thread_timeout_remaining_ticks() argument
729 return z_timeout_remaining(&thread->base.timeout); in z_impl_k_thread_timeout_remaining_ticks()
758 #define Z_THREAD_INIT_DELAY(thread) SYS_TIMEOUT_MS((thread)->init_delay_ms) argument
761 #define Z_THREAD_INIT_DELAY(thread) (thread)->init_delay argument
764 #define Z_THREAD_INITIALIZER(thread, stack, stack_size, \ argument
768 .init_thread = (thread), \
885 __syscall int k_thread_priority_get(k_tid_t thread);
912 __syscall void k_thread_priority_set(k_tid_t thread, int prio);
948 __syscall void k_thread_deadline_set(k_tid_t thread, int deadline);
984 int k_thread_cpu_mask_clear(k_tid_t thread);
998 int k_thread_cpu_mask_enable_all(k_tid_t thread);
1012 int k_thread_cpu_mask_enable(k_tid_t thread, int cpu);
1026 int k_thread_cpu_mask_disable(k_tid_t thread, int cpu);
1038 int k_thread_cpu_pin(k_tid_t thread, int cpu);
1062 __syscall void k_thread_suspend(k_tid_t thread);
1075 __syscall void k_thread_resume(k_tid_t thread);
1090 static inline void k_thread_start(k_tid_t thread) in k_thread_start() argument
1092 k_wakeup(thread); in k_thread_start()
1301 __syscall int k_thread_name_set(k_tid_t thread, const char *str);
1311 const char *k_thread_name_get(k_tid_t thread);
1324 __syscall int k_thread_name_copy(k_tid_t thread, char *buf,
4161 struct k_thread thread; member
4213 return &queue->thread; in k_work_queue_thread_get()
4242 struct k_thread thread; member
4395 return &work_q->thread; in k_work_user_queue_thread_get()
6327 __syscall int k_float_disable(struct k_thread *thread);
6367 __syscall int k_float_enable(struct k_thread *thread, unsigned int options);
6380 int k_thread_runtime_stats_get(k_tid_t thread,
6409 int k_thread_runtime_stats_enable(k_tid_t thread);
6420 int k_thread_runtime_stats_disable(k_tid_t thread);