Lines Matching refs:thread
12 #include <thread.h>
258 Thread* thread = thread_get_current_thread();
264 // If the thread has a signal handler for the signal, we simply send it
271 thread->team->id);
273 send_signal_to_thread(thread, signal, 0);
287 Thread* thread = thread_get_current_thread();
289 if (thread->cpu->invoke_scheduler) {
290 SpinLocker schedulerLocker(thread->scheduler_lock);
294 } else if (thread->post_interrupt_callback != NULL) {
295 void (*callback)(void*) = thread->post_interrupt_callback;
296 void* data = thread->post_interrupt_data;
298 thread->post_interrupt_callback = NULL;
299 thread->post_interrupt_data = NULL;
367 dprintf("FrameChangeChecker, thread: %" B_PRId32 "(%s)\n", thread_get_current_thread()->id, thread_get_current_thread()->name);
447 Thread* thread = thread_get_current_thread();
448 if (thread != NULL) {
459 if (thread->fault_handler != 0) {
460 kprintf("ERROR: thread::fault_handler used in kernel "
465 frame->epc = (addr_t)thread->fault_handler;
477 Thread* thread = thread_get_current_thread();
478 if (thread != NULL && thread->fault_handler != 0) {
479 addr_t handler = (addr_t)(thread->fault_handler);