[svn:parrot] r48072 - branches/gsoc_threads/src

Chandon at svn.parrot.org Chandon at svn.parrot.org
Sun Jul 11 04:01:01 UTC 2010


Author: Chandon
Date: Sun Jul 11 04:01:01 2010
New Revision: 48072
URL: https://trac.parrot.org/parrot/changeset/48072

Log:
[gsoc_threads] make codetest was whining

Modified:
   branches/gsoc_threads/src/scheduler.c

Modified: branches/gsoc_threads/src/scheduler.c
==============================================================================
--- branches/gsoc_threads/src/scheduler.c	Sun Jul 11 03:52:25 2010	(r48071)
+++ branches/gsoc_threads/src/scheduler.c	Sun Jul 11 04:01:01 2010	(r48072)
@@ -123,8 +123,8 @@
     do {
         Parrot_cx_next_task(interp, scheduler);
         task_count = VTABLE_get_integer(interp, sched->task_queue);
-        
-        if(task_count == 0) {
+
+        if (task_count == 0) {
             INTVAL alarm_count = VTABLE_get_integer(interp, sched->alarms);
 
             if (alarm_count > 0) {
@@ -134,12 +134,12 @@
                 FLOATVAL sleep_time = now_time - alarm_time;
                 VTABLE_unshift_pmc(interp, sched->alarms, alarm);
 
-                if(sleep_time > 0.0)
+                if (sleep_time > 0.0)
                     Parrot_floatval_sleep(sleep_time);
 
                 Parrot_cx_check_alarms(interp, interp->scheduler);
                 task_count = 1;
-            }            
+            }
         }
     } while (task_count > 0);
 }


More information about the parrot-commits mailing list