Diff for /libaitsched/src/aitsched.c between versions 1.14.2.1 and 1.14.2.2

version 1.14.2.1, 2012/08/21 11:07:16 version 1.14.2.2, 2012/08/21 12:50:08
Line 108  schedRegisterHooks(sched_root_task_t * __restrict root Line 108  schedRegisterHooks(sched_root_task_t * __restrict root
 #ifdef EVFILT_USER  #ifdef EVFILT_USER
         root->root_hooks.hook_add.user = sched_hook_user;          root->root_hooks.hook_add.user = sched_hook_user;
 #endif  #endif
   #ifdef HAVE_LIBPTHREAD
           root->root_hooks.hook_add.thread = sched_hook_thread;
   #endif
   
         root->root_hooks.hook_exec.cancel = sched_hook_cancel;          root->root_hooks.hook_exec.cancel = sched_hook_cancel;
         root->root_hooks.hook_exec.fetch = sched_hook_fetch;          root->root_hooks.hook_exec.fetch = sched_hook_fetch;
Line 427  schedCancel(sched_task_t * __restrict task) Line 430  schedCancel(sched_task_t * __restrict task)
 #endif  #endif
         }          }
         if (TASK_TYPE(task) != taskUNUSE)          if (TASK_TYPE(task) != taskUNUSE)
                _sched_unuseTask(task);                sched_unuseTask(task);
   
         return 0;          return 0;
 }  }
Line 594  schedCancelby(sched_root_task_t * __restrict root, sch Line 597  schedCancelby(sched_root_task_t * __restrict root, sch
   
                         TAILQ_REMOVE(queue, task, task_node);                          TAILQ_REMOVE(queue, task, task_node);
                         if (TASK_TYPE(task) != taskUNUSE)                          if (TASK_TYPE(task) != taskUNUSE)
                                _sched_unuseTask(task);                                sched_unuseTask(task);
   
                         flg ^= flg;     /* ok */                          flg ^= flg;     /* ok */
                 }                  }

Removed from v.1.14.2.1  
changed lines
  Added in v.1.14.2.2


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