Home
last modified time | relevance | path

Searched refs:user_thread (Results 1 – 10 of 10) sorted by relevance

/haiku/headers/private/libroot/
H A Duser_thread.h15 static inline struct user_thread*
18 return (struct user_thread*)tls_get(TLS_USER_THREAD_SLOT); in get_user_thread()
32 struct user_thread* thread = get_user_thread(); in undefer_signals()
/haiku/headers/private/system/
H A Duser_thread_defs.h15 struct user_thread { struct
/haiku/src/tests/system/libroot/posix/
H A Duser_thread_fork_test.cpp26 struct user_thread *t = get_user_thread(); in main()
/haiku/headers/private/kernel/
H A Dteam.h60 struct user_thread* team_allocate_user_thread(Team* team);
61 void team_free_user_thread(Team* team, struct user_thread* userThread);
H A Dthread_types.h66 struct user_thread; // defined in libroot/user_thread.h
152 struct user_thread* thread;
477 struct user_thread* user_thread; // write-protected by fLock, only member
/haiku/src/system/kernel/
H A Dthread.cpp187 user_thread(NULL), in Thread()
653 user_thread* userThread = thread->user_thread; in enter_userspace()
668 tls[TLS_USER_THREAD_SLOT] = (addr_t)thread->user_thread; in enter_userspace()
1006 if (thread->user_thread == NULL) { in thread_create_thread()
1007 thread->user_thread = team_allocate_user_thread(team); in thread_create_thread()
1008 if (thread->user_thread == NULL) in thread_create_thread()
1049 user_thread* userThread = thread->user_thread; in thread_create_thread()
1050 thread->user_thread = NULL; in thread_create_thread()
1866 kprintf("user_thread: %p\n", (void *)thread->user_thread); in _dump_thread_info()
2025 user_thread* userThread = thread->user_thread; in thread_exit()
[all …]
H A Dteam.cpp2081 user_thread* userThread = team_allocate_user_thread(team); in exec_team()
2084 currentThread->user_thread = userThread; in exec_team()
2203 thread->user_thread = team_allocate_user_thread(team); in fork_team()
2221 if (thread->user_thread == NULL) { in fork_team()
3601 struct user_thread*
3609 user_thread* thread = entry->thread; in team_allocate_user_thread()
3617 size_t needed = ROUNDUP(sizeof(user_thread), CACHE_LINE_SIZE); in team_allocate_user_thread()
3632 user_thread* thread in team_allocate_user_thread()
3633 = (user_thread*)(team->user_data + team->used_user_data); in team_allocate_user_thread()
3647 team_free_user_thread(Team* team, struct user_thread* userThread) in team_free_user_thread()
H A Dsignal.cpp946 if (thread->user_thread->defer_signals > 0 in handle_signals()
949 thread->user_thread->pending_signals = signalMask; in handle_signals()
954 thread->user_thread->pending_signals = 0; in handle_signals()
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dcondition_variable.cpp100 user_thread* userThread = get_user_thread(); in Wait()
/haiku/src/system/libroot/posix/pthread/
H A Dpthread_rwlock.cpp37 user_thread* userThread;