Diff for /libaitsched/inc/aitsched.h between versions 1.14.2.2 and 1.14.2.3

version 1.14.2.2, 2012/08/21 11:45:34 version 1.14.2.3, 2012/08/21 12:50:08
Line 269  int schedEnd(sched_root_task_t ** __restrict root); Line 269  int schedEnd(sched_root_task_t ** __restrict root);
  */   */
 int schedRegisterHooks(sched_root_task_t * __restrict root);  int schedRegisterHooks(sched_root_task_t * __restrict root);
 /*  /*
    * sched_useTask() - Get and init new task
    *
    * @root = root task
    * return: NULL error or !=NULL prepared task
    */
   inline sched_task_t *sched_useTask(sched_root_task_t * __restrict root);
   /*
    * sched_unuseTask() - Unlock and put task to unuse queue
    *
    * @task = task
    * return: always is NULL
    */
   inline sched_task_t *sched_unuseTask(sched_task_t * __restrict task);
   /*
  * schedPolling() - Polling timeout period if no timer task is present   * schedPolling() - Polling timeout period if no timer task is present
  *   *
  * @root = root task   * @root = root task
Line 644  sched_task_t *schedThread(sched_root_task_t * __restri Line 658  sched_task_t *schedThread(sched_root_task_t * __restri
                                         TASK_ROOT(t)->root_hooks.hook_exec.exit((t), \                                          TASK_ROOT(t)->root_hooks.hook_exec.exit((t), \
                                                         (void*) (x)); \                                                          (void*) (x)); \
                                 TASK_ROOT(t)->root_ret = (void*) (x); \                                  TASK_ROOT(t)->root_ret = (void*) (x); \
                                if (TASK_TYPE(t) == taskTHREAD) \                                if (TASK_TYPE(t) == taskTHREAD) { \
                                         sched_unuseTask(t); \
                                         pthread_exit((void*) (x)); \                                          pthread_exit((void*) (x)); \
                                else \                                } else \
                                         return ((void*) (x)); \                                          return ((void*) (x)); \
 } while (0)  } while (0)
   

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


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