diff packages/kernel/current/src/sched/mlqueue.cxx @ 179:391299f9e541

Merge from eCos master repository on 2001-08-17-16:31:54-BST
author jlarmour
date Fri, 17 Aug 2001 16:37:36 +0000
parents 4c750ce71ae3
children f62680ef1804
line wrap: on
line diff
--- a/packages/kernel/current/src/sched/mlqueue.cxx
+++ b/packages/kernel/current/src/sched/mlqueue.cxx
@@ -490,7 +490,7 @@ Cyg_Scheduler_Implementation::timeslice(
 
 #else    
 
-    if( --timeslice_count[CYG_KERNEL_CPU_THIS()] )
+    if( --timeslice_count[CYG_KERNEL_CPU_THIS()] == 0 )
         timeslice_cpu();
     
 #endif