Lines Matching refs:thread
14 #include <thread.h>
182 Thread* thread = thread_get_current_thread();
184 if (thread->cpu->invoke_scheduler) {
185 SpinLocker schedulerLocker(thread->scheduler_lock);
189 } else if (thread->post_interrupt_callback != NULL) {
190 void (*callback)(void*) = thread->post_interrupt_callback;
191 void* data = thread->post_interrupt_data;
193 thread->post_interrupt_callback = NULL;
194 thread->post_interrupt_data = NULL;
284 Thread* thread = thread_get_current_thread();
285 if (thread != NULL) {
297 Thread *thread = thread_get_current_thread();
298 ASSERT(thread);
304 uintptr_t handler = reinterpret_cast<uintptr_t>(thread->fault_handler);
305 if (thread->fault_handler != 0) {
309 } else if (thread->page_faults_allowed != 0) {