#include <oscl_scheduler.h>
Public Methods | |
virtual void | OsclSchedulerTimerCallback (OsclAny *aContext, uint32 aDelayMsec)=0 |
virtual void | OsclSchedulerReadyCallback (OsclAny *aContext)=0 |
virtual | ~OsclSchedulerObserver () |
|
|
|
OsclSchedulerReadyCallback is called when the ready queue is updated, meaning an AO is ready to run. Scheduler needs to be run ASAP. Calling context may be any thread, so be careful! The current observer is cleared before making the callback, so the observer must call RegisterForCallback again if it wants further notifications. |
|
OsclSchedulerTimerCallback is called when the front of the timer queue is updated. This means the minimum delay has changed and scheduler needs to be run again after aDelayMsec. Calling context is in-thread. The current observer is cleared before making the callback, so the observer must call RegisterForCallback again if it wants further notifications. |