Lines Matching refs:currentThread
578 Thread* currentThread = thread_get_current_thread();
579 team = currentThread->team->id;
581 signal_mask = currentThread->sig_block_mask;
1013 Thread* currentThread = thread_get_current_thread();
1014 if (currentThread != NULL && currentThread->team == team) {
1016 int32 debugFlags = atomic_get(¤tThread->debug_info.flags)
3048 thread_check_permissions(const Thread* currentThread, const Thread* thread,
3057 if (thread->team == currentThread->team
3058 || currentThread->team->effective_uid == 0
3059 || thread->team->real_uid == currentThread->team->real_uid)
3073 Thread* currentThread = thread_get_current_thread();
3080 if (!thread_check_permissions(currentThread, thread, kernel))
3083 Signal signal(number, signalCode, errorCode, currentThread->team->id);
3156 Thread* currentThread = thread_get_current_thread();
3159 if (id == currentThread->id) {
3160 thread = currentThread;
3169 if (!kernel && thread->team != currentThread->team)