 - Keep a variable 'sched_tdcnt' that is used for the local implementation    of sched_load().  This variable tracks the number of running and runnable    non ithd threads.  This removes the need to traverse the proc table and    discover how many threads are runnable.
 - Keep a variable 'sched_tdcnt' that is used for the local implementation
   of sched_load().  This variable tracks the number of running and runnable
   non ithd threads.  This removes the need to traverse the proc table and
   discover how many threads are runnable.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase