Diff for /libaitsched/src/aitsched.c between versions 1.11 and 1.11.2.1

version 1.11, 2012/07/24 14:06:11 version 1.11.2.1, 2012/07/30 00:20:27
Line 595  schedRun(sched_root_task_t *root, volatile intptr_t *  Line 595  schedRun(sched_root_task_t *root, volatile intptr_t * 
                                         root->root_hooks.hook_exec.condition &&                                           root->root_hooks.hook_exec.condition && 
                                         root->root_hooks.hook_exec.condition(root, (void*) killState)) {                                          root->root_hooks.hook_exec.condition(root, (void*) killState)) {
                                 if ((task = root->root_hooks.hook_exec.fetch(root, NULL)))                                  if ((task = root->root_hooks.hook_exec.fetch(root, NULL)))
                                        schedCall(task);                                        root->root_ret = schedCall(task);
                         }                          }
                 else                  else
                         /* trigger scheduler loop */                          /* trigger scheduler loop */
                         while (!*killState && root && root->root_hooks.hook_exec.fetch) {                          while (!*killState && root && root->root_hooks.hook_exec.fetch) {
                                 if ((task = root->root_hooks.hook_exec.fetch(root, NULL)))                                  if ((task = root->root_hooks.hook_exec.fetch(root, NULL)))
                                        schedCall(task);                                        root->root_ret = schedCall(task);
                         }                          }
         } else          } else
                 /* infinite scheduler loop */                  /* infinite scheduler loop */
                 while (root && root->root_hooks.hook_exec.fetch)                  while (root && root->root_hooks.hook_exec.fetch)
                         if ((task = root->root_hooks.hook_exec.fetch(root, NULL)))                          if ((task = root->root_hooks.hook_exec.fetch(root, NULL)))
                                schedCall(task);                                root->root_ret = schedCall(task);
   
         return 0;          return 0;
 }  }

Removed from v.1.11  
changed lines
  Added in v.1.11.2.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>