/* The TRAPA handler used to force a context switch.  */
void vPortYield(void)
/* The TRAPA handler used to force a context switch.  */
void vPortYield(void)
{
long lInterruptMask;
	lInterruptMask = get_imask();	set_imask( portKERNEL_INTERRUPT_PRIORITY );
	trapa( portYIELD_TRAP_NO );
	set_imask( ( int ) lInterruptMask );
}