cvs commit: src/sys/kern lwkt_thread.c

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Apr 12 21:02:15 PDT 2005


dillon      2005/04/12 21:02:08 PDT

DragonFly src repository

  Modified files:
    sys/kern             lwkt_thread.c 
  Log:
  Only bump the switch_count counter when lwkt_switch() actually switches
  to a different thread.  Otherwise the idle loop causes this counter
  to go haywire.
  
  Revision  Changes    Path
  1.71      +3 -2      src/sys/kern/lwkt_thread.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_thread.c.diff?r1=1.70&r2=1.71&f=u





More information about the Commits mailing list