Introduced a callback field in the thread structure. It can be set in an
interrupt handler and will be executed right before returning from the interrupt. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27648 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -309,6 +309,9 @@ struct thread {
|
||||
bigtime_t kernel_time;
|
||||
bigtime_t last_time;
|
||||
|
||||
void (*post_interrupt_callback)(void*);
|
||||
void* post_interrupt_data;
|
||||
|
||||
// architecture dependant section
|
||||
struct arch_thread arch_info;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user