CMP EMBEDDED.COM

Login | Register     Welcome Guest   IPS  
HOME DESIGN PRODUCTS COLUMNS E-LEARNING CONFERENCES CODE FORUMS/BLOGS NEWSLETTERS CONTACT FEATURES RSS RSS

TABLE 2: Hook routines
Hook routine When itýs called
StartupHook() After the system startup code has called the StartOS() service and the service has initialized all internal data, but prior to starting the scheduler.
PreTaskHook() By the scheduler, prior to a task being moved from the ready to the running state. No task is running at the time of the call.
PostTaskHook() After a task has been moved from running to ready, but prior to the next task being started. No task is running at the time of the call.
ErrorHook() Whenever the OS detects an error. The error code is passed as an argument.
ShutdownHook() After the service ShutdownOS() has been called and the OS has shut down all other services.
Embedded.com Career Center
Ready for a change?
SEARCH JOBS

Browse all jobs

SPONSOR
RECENT JOB POSTINGS





 :