For many applications the alternate entry table is superior to the standard entry table because it has finer resolution for assigning events to threads, and as a result, code will generally executes faster. The "alternate" keyword (see below in red) is used to select this table.
#pragma ETPU_function MeasurePulse, alternate;
void MeasurePulse ( int24 PulseWidth
)
{
int24 RisingEdge, FallingEdge;
// This thread us used to respond to a Host Service
Request (HSR.)
// This is a request from the host processor to intitialize
this function.
if ( IsHostServiceRequestEvent( 7 ) )
{
...