Public Member Functions | |
virtual | ~PStatsCallback () |
Since this class is just an interface definition, there is no need to have a destructor. | |
virtual void | activate_hook (Thread *thread) |
Called when the thread is activated (resumes execution). | |
virtual void | deactivate_hook (Thread *thread) |
Called when the thread is deactivated (swapped for another running thread). |
Thread::PStatsCallback::~PStatsCallback | ( | ) | [virtual] |
Since this class is just an interface definition, there is no need to have a destructor.
However, we must have one anyway to stop gcc's annoying warning.
Definition at line 539 of file thread.cxx.
void Thread::PStatsCallback::activate_hook | ( | Thread * | thread | ) | [virtual] |
Called when the thread is activated (resumes execution).
This is intended to provide a callback hook for PStats to assign time to individual threads properly, particularly in the SIMPLE_THREADS case.
Definition at line 564 of file thread.cxx.
void Thread::PStatsCallback::deactivate_hook | ( | Thread * | thread | ) | [virtual] |
Called when the thread is deactivated (swapped for another running thread).
This is intended to provide a callback hook for PStats to assign time to individual threads properly, particularly in the SIMPLE_THREADS case.
Definition at line 552 of file thread.cxx.