<< Previous | Next >>

OSTaskSwHook

void OSTaskSwHook( void );

Description

Called whenever a context switch happens. The task control block (TCB) for the task that is ready to run is accessed via the global variable OSTCBHighRdy, and the TCB for the task that is being switched out is accessed via the global variable OSTCBCur.

Library

UCOS2.LIB


Dynamic C Functions << Previous | Next >> rabbit.com