00001 // AUTOMATICALLY GENERATED -- DO NOT EDIT! -*- c++ -*- 00002 00003 #ifndef deadline_timeout_i_h 00004 #define deadline_timeout_i_h 00005 00006 #include "context.h" 00007 #include "preemption.h" 00008 #include "sched_context.h" 00009 #include "std_macros.h" 00010 #include "thread_state.h" 00011 00012 // 00013 // IMPLEMENTATION of inline functions follows 00014 // 00015 00016 00017 00018 00019 inline Context * const 00020 Deadline_timeout::owner() const 00021 { 00022 // We could have saved our context in our constructor, but computing 00023 // it this way is easier and saves space. We can do this as we know 00024 // that Deadline_timeouts are always aggregated in their owner context. 00025 00026 return context_of (this); 00027 } 00028 00029 #endif // deadline_timeout_i_h