Using the ThreadIdle Function

A ThreadIdle function has been created to help support testing. It takes a single parameter which is an object value implying a thread. The return value is TRUE when there are no statements on the to do list for the thread. It does not consider timers in the return value.

This function is useful when instantiating the MUT and waiting for the initialization of the MUT to complete before executing the Assert calls.