DragonFly BSD
DragonFly commits List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern lwkt_thread.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Apr 2005 21:02:08 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]