HelenOS sources
thread_t 37 kernel/arch/abs32le/src/proc/thread.c errno_t thread_create_arch(thread_t *t, thread_flags_t flags)
thread_t 44 kernel/arch/amd64/src/proc/thread.c errno_t thread_create_arch(thread_t *thread, thread_flags_t flags)
thread_t 41 kernel/arch/ia32/src/proc/thread.c errno_t thread_create_arch(thread_t *t, thread_flags_t flags)
thread_t 42 kernel/arch/ia64/include/arch/drivers/ski.h thread_t *thread;
thread_t 37 kernel/arch/riscv64/src/proc/thread.c errno_t thread_create_arch(thread_t *t, thread_flags_t flags)
thread_t 42 kernel/arch/sparc64/include/arch/drivers/niagara.h thread_t *thread;
thread_t 43 kernel/arch/sparc64/src/proc/thread.c void thr_constructor_arch(thread_t *t)
thread_t 51 kernel/arch/sparc64/src/proc/thread.c void thr_destructor_arch(thread_t *t)
thread_t 64 kernel/arch/sparc64/src/proc/thread.c errno_t thread_create_arch(thread_t *t, thread_flags_t flags)
thread_t 44 kernel/genarch/include/genarch/kbrd/kbrd.h thread_t *thread;
thread_t 43 kernel/genarch/include/genarch/srln/srln.h thread_t *thread;
thread_t 66 kernel/generic/include/interrupt.h extern istate_t *istate_get(thread_t *);
thread_t 215 kernel/generic/include/proc/thread.h extern thread_t *thread_create(void (*)(void *), void *, task_t *,
thread_t 217 kernel/generic/include/proc/thread.h extern void thread_wire(thread_t *, cpu_t *);
thread_t 218 kernel/generic/include/proc/thread.h extern void thread_attach(thread_t *, task_t *);
thread_t 219 kernel/generic/include/proc/thread.h extern void thread_start(thread_t *);
thread_t 220 kernel/generic/include/proc/thread.h extern void thread_requeue_sleeping(thread_t *);
thread_t 222 kernel/generic/include/proc/thread.h extern void thread_interrupt(thread_t *);
thread_t 242 kernel/generic/include/proc/thread.h extern void thread_wakeup(thread_t *);
thread_t 244 kernel/generic/include/proc/thread.h static inline thread_t *thread_ref(thread_t *thread)
thread_t 250 kernel/generic/include/proc/thread.h static inline thread_t *thread_try_ref(thread_t *thread)
thread_t 258 kernel/generic/include/proc/thread.h extern void thread_put(thread_t *);
thread_t 261 kernel/generic/include/proc/thread.h extern errno_t thread_create_arch(thread_t *, thread_flags_t);
thread_t 265 kernel/generic/include/proc/thread.h extern void thr_constructor_arch(thread_t *);
thread_t 269 kernel/generic/include/proc/thread.h extern void thr_destructor_arch(thread_t *);
thread_t 275 kernel/generic/include/proc/thread.h extern errno_t thread_join(thread_t *);
thread_t 276 kernel/generic/include/proc/thread.h extern errno_t thread_join_timeout(thread_t *, uint32_t, unsigned int);
thread_t 277 kernel/generic/include/proc/thread.h extern void thread_detach(thread_t *);
thread_t 282 kernel/generic/include/proc/thread.h extern thread_t *thread_find_by_id(thread_id_t);
thread_t 284 kernel/generic/include/proc/thread.h extern thread_t *thread_first(void);
thread_t 285 kernel/generic/include/proc/thread.h extern thread_t *thread_next(thread_t *);
thread_t 287 kernel/generic/include/proc/thread.h extern thread_t *thread_try_get(thread_t *);
thread_t 47 kernel/generic/include/udebug/udebug_ops.h errno_t udebug_go(thread_t *t, call_t *call);
thread_t 48 kernel/generic/include/udebug/udebug_ops.h errno_t udebug_stop(thread_t *t, call_t *call);
thread_t 53 kernel/generic/include/udebug/udebug_ops.h errno_t udebug_args_read(thread_t *t, void **buffer);
thread_t 55 kernel/generic/include/udebug/udebug_ops.h errno_t udebug_regs_read(thread_t *t, void **buffer);
thread_t 1001 kernel/generic/src/console/cmd.c thread_t *thread;
thread_t 222 kernel/generic/src/interrupt/interrupt.c istate_t *istate_get(thread_t *thread)
thread_t 222 kernel/generic/src/ipc/kbox.c thread_t *kb_thread = thread_create(kbox_thread_proc, NULL, task,
thread_t 104 kernel/generic/src/main/kinit.c thread_t *thread;
thread_t 278 kernel/generic/src/main/main.c thread_t *kinit_thread = thread_create(kinit, NULL, kernel,
thread_t 79 kernel/generic/src/proc/scheduler.c thread_t *owner = atomic_load_explicit(&CPU->fpu_owner, memory_order_relaxed);
thread_t 116 kernel/generic/src/proc/scheduler.c static thread_t *try_find_thread(int *rq_index)
thread_t 141 kernel/generic/src/proc/scheduler.c thread_t *thread = list_get_instance(
thread_t 142 kernel/generic/src/proc/scheduler.c list_first(&CPU->rq[i].rq), thread_t, rq_link);
thread_t 163 kernel/generic/src/proc/scheduler.c static thread_t *find_best_thread(int *rq_index)
thread_t 169 kernel/generic/src/proc/scheduler.c thread_t *thread = try_find_thread(rq_index);
thread_t 285 kernel/generic/src/proc/scheduler.c thread_t *owner = atomic_load_explicit(&CPU->fpu_owner,
thread_t 367 kernel/generic/src/proc/scheduler.c static void add_to_rq(thread_t *thread, cpu_t *cpu, int i)
thread_t 383 kernel/generic/src/proc/scheduler.c static void thread_requeue_preempted(thread_t *thread)
thread_t 401 kernel/generic/src/proc/scheduler.c void thread_requeue_sleeping(thread_t *thread)
thread_t 423 kernel/generic/src/proc/scheduler.c static void cleanup_after_thread(thread_t *thread)
thread_t 484 kernel/generic/src/proc/scheduler.c thread_t *new_thread = try_find_thread(&rq_index);
thread_t 506 kernel/generic/src/proc/scheduler.c thread_t *old_thread = THREAD;
thread_t 617 kernel/generic/src/proc/scheduler.c static thread_t *steal_thread_from(cpu_t *old_cpu, int i)
thread_t 630 kernel/generic/src/proc/scheduler.c thread_t *fpu_owner = atomic_load_explicit(&old_cpu->fpu_owner,
thread_t 634 kernel/generic/src/proc/scheduler.c list_foreach_rev(old_rq->rq, rq_link, thread_t, thread) {
thread_t 789 kernel/generic/src/proc/scheduler.c list_foreach(cpus[cpu].rq[i].rq, rq_link, thread_t,
thread_t 518 kernel/generic/src/proc/task.c list_foreach(task->threads, th_link, thread_t, thread) {
thread_t 543 kernel/generic/src/proc/task.c list_foreach(task->threads, th_link, thread_t, thread) {
thread_t 115 kernel/generic/src/proc/thread.c thread_t *thread = (thread_t *) obj;
thread_t 165 kernel/generic/src/proc/thread.c thread_t *thread = (thread_t *) obj;
thread_t 185 kernel/generic/src/proc/thread.c thread_cache = slab_cache_create("thread_t", sizeof(thread_t), _Alignof(thread_t),
thread_t 196 kernel/generic/src/proc/thread.c void thread_wire(thread_t *thread, cpu_t *cpu)
thread_t 208 kernel/generic/src/proc/thread.c void thread_start(thread_t *thread)
thread_t 229 kernel/generic/src/proc/thread.c thread_t *thread_create(void (*func)(void *), void *arg, task_t *task,
thread_t 232 kernel/generic/src/proc/thread.c thread_t *thread = (thread_t *) slab_alloc(thread_cache, FRAME_ATOMIC);
thread_t 309 kernel/generic/src/proc/thread.c thread_t *thread = (thread_t *) obj;
thread_t 371 kernel/generic/src/proc/thread.c void thread_put(thread_t *thread)
thread_t 387 kernel/generic/src/proc/thread.c void thread_attach(thread_t *thread, task_t *task)
thread_t 465 kernel/generic/src/proc/thread.c void thread_interrupt(thread_t *thread)
thread_t 560 kernel/generic/src/proc/thread.c void thread_wakeup(thread_t *thread)
thread_t 623 kernel/generic/src/proc/thread.c errno_t thread_join(thread_t *thread)
thread_t 638 kernel/generic/src/proc/thread.c errno_t thread_join_timeout(thread_t *thread, uint32_t usec, unsigned int flags)
thread_t 653 kernel/generic/src/proc/thread.c void thread_detach(thread_t *thread)
thread_t 681 kernel/generic/src/proc/thread.c static void thread_print(thread_t *thread, bool additional)
thread_t 727 kernel/generic/src/proc/thread.c thread_t *thread;
thread_t 757 kernel/generic/src/proc/thread.c static bool thread_exists(thread_t *thread)
thread_t 765 kernel/generic/src/proc/thread.c thread_t *thread_try_get(thread_t *thread)
thread_t 817 kernel/generic/src/proc/thread.c thread_t *thread_find_by_id(thread_id_t thread_id)
thread_t 819 kernel/generic/src/proc/thread.c thread_t *thread;
thread_t 851 kernel/generic/src/proc/thread.c thread_t *thread_first(void)
thread_t 862 kernel/generic/src/proc/thread.c return odict_get_instance(odlink, thread_t, lthreads);
thread_t 870 kernel/generic/src/proc/thread.c thread_t *thread_next(thread_t *cur)
thread_t 881 kernel/generic/src/proc/thread.c return odict_get_instance(odlink, thread_t, lthreads);
thread_t 889 kernel/generic/src/proc/thread.c thread_t *thread = thread_try_ref(thread_find_by_id(thread_id));
thread_t 925 kernel/generic/src/proc/thread.c thread_t *thread = odict_get_instance(odlink, thread_t, lthreads);
thread_t 978 kernel/generic/src/proc/thread.c thread_t *thread = thread_create(uinit, kernel_uarg, TASK,
thread_t 278 kernel/generic/src/synch/waitq.c thread_t *thread = list_get_instance(list_first(&wq->sleepers), thread_t, wq_link);
thread_t 298 kernel/generic/src/sysinfo/stats.c static void produce_stats_thread(thread_t *thread, stats_thread_t *stats_thread)
thread_t 362 kernel/generic/src/sysinfo/stats.c thread_t *thread = thread_first();
thread_t 583 kernel/generic/src/sysinfo/stats.c thread_t *thread = thread_find_by_id(thread_id);
thread_t 405 kernel/generic/src/udebug/udebug.c list_foreach(task->threads, th_link, thread_t, thread) {
thread_t 132 kernel/generic/src/udebug/udebug_ipc.c thread_t *t;
thread_t 135 kernel/generic/src/udebug/udebug_ipc.c t = (thread_t *)ipc_get_arg2(&call->data);
thread_t 152 kernel/generic/src/udebug/udebug_ipc.c thread_t *t;
thread_t 155 kernel/generic/src/udebug/udebug_ipc.c t = (thread_t *)ipc_get_arg2(&call->data);
thread_t 322 kernel/generic/src/udebug/udebug_ipc.c thread_t *t;
thread_t 327 kernel/generic/src/udebug/udebug_ipc.c t = (thread_t *)ipc_get_arg2(&call->data);
thread_t 361 kernel/generic/src/udebug/udebug_ipc.c thread_t *t;
thread_t 367 kernel/generic/src/udebug/udebug_ipc.c t = (thread_t *) ipc_get_arg2(&call->data);
thread_t 81 kernel/generic/src/udebug/udebug_ops.c static errno_t _thread_op_begin(thread_t *thread, bool being_go)
thread_t 136 kernel/generic/src/udebug/udebug_ops.c static void _thread_op_end(thread_t *thread)
thread_t 187 kernel/generic/src/udebug/udebug_ops.c list_foreach(TASK->threads, th_link, thread_t, thread) {
thread_t 255 kernel/generic/src/udebug/udebug_ops.c errno_t udebug_go(thread_t *thread, call_t *call)
thread_t 286 kernel/generic/src/udebug/udebug_ops.c errno_t udebug_stop(thread_t *thread, call_t *call)
thread_t 381 kernel/generic/src/udebug/udebug_ops.c list_foreach(TASK->threads, th_link, thread_t, thread) {
thread_t 448 kernel/generic/src/udebug/udebug_ops.c errno_t udebug_args_read(thread_t *thread, void **buffer)
thread_t 495 kernel/generic/src/udebug/udebug_ops.c errno_t udebug_regs_read(thread_t *thread, void **buffer)
thread_t 114 kernel/test/mm/falloc2.c thread_t *threads[THREADS] = { };
thread_t 117 kernel/test/mm/falloc2.c thread_t *thrd = thread_create(falloc, NULL, TASK,
thread_t 150 kernel/test/mm/slab1.c thread_t *threads[THREADS] = { };
thread_t 205 kernel/test/mm/slab2.c thread_t *threads[THREADS] = { };
thread_t 76 kernel/test/synch/semaphore1.c thread_t *thrd;
thread_t 87 kernel/test/synch/semaphore2.c thread_t *thrd;
thread_t 53 kernel/test/thread/thread1.c thread_t *threads[THREADS] = { };
thread_t 123 uspace/lib/cpp/include/__bits/thread/thread.hpp using native_handle_type = aux::thread_t*;
thread_t 181 uspace/lib/cpp/include/__bits/thread/thread.hpp aux::thread_t id_;
thread_t 250 uspace/lib/cpp/include/__bits/thread/thread.hpp aux::thread_t id_;
thread_t 252 uspace/lib/cpp/include/__bits/thread/thread.hpp id(aux::thread_t id)
thread_t 59 uspace/lib/cpp/src/thread.cpp other.id_ = aux::thread_t{};
thread_t 69 uspace/lib/cpp/src/thread.cpp other.id_ = aux::thread_t{};
thread_t 85 uspace/lib/cpp/src/thread.cpp return id_ != aux::thread_t{};
thread_t 96 uspace/lib/cpp/src/thread.cpp id_ = aux::thread_t{};
HelenOS homepage, sources at GitHub