Diff for /libaitsched/example/test.c between versions 1.7 and 1.8

version 1.7, 2012/08/02 13:56:19 version 1.8, 2012/08/08 08:25:39
Line 22  void *event(sched_task_t *arg) Line 22  void *event(sched_task_t *arg)
         return NULL;          return NULL;
 }  }
   
void *eventlo(sched_task_t *arg)void *regular(sched_task_t *arg)
 {  {
        printf("EventLOW::\n");        printf("Task::\n");
         return NULL;          return NULL;
 }  }
   
Line 179  main(int argc, char **argv) Line 179  main(int argc, char **argv)
                 return 2;                  return 2;
         }          }
   
        if (!schedEventLo(root, eventlo, "piuk", 1111, NULL, 0)) {        if (!schedTask(root, regular, "piuk", 1111, NULL, 0)) {
                 printf("Error:: #%d - %s\n", sched_GetErrno(), sched_GetError());                  printf("Error:: #%d - %s\n", sched_GetErrno(), sched_GetError());
                 return 3;                  return 3;
         }          }

Removed from v.1.7  
changed lines
  Added in v.1.8


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