]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Keep a variable 'sched_tdcnt' that is used for the local implementation
authorJeff Roberson <jeff@FreeBSD.org>
Sun, 1 Feb 2004 02:46:47 +0000 (02:46 +0000)
committerJeff Roberson <jeff@FreeBSD.org>
Sun, 1 Feb 2004 02:46:47 +0000 (02:46 +0000)
commitca59f1527274067d1d631d6e0cca50751bef0a33
treeff88fc2af3242fe4dd380a2245f617e49f5c829e
parentb654d10049a18b67e1298b7175a94987dd6c5ff3
 - 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.
sys/kern/sched_4bsd.c