Diff for /libaitsched/example/test_time.c between versions 1.5 and 1.5.4.1

version 1.5, 2012/07/24 14:06:10 version 1.5.4.1, 2012/08/08 08:24:51
Line 19  void *event(sched_task_t *arg) Line 19  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");
         fflush(stdout);
         return NULL;          return NULL;
 }  }
   
Line 138  main(int argc, char **argv) Line 139  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.5  
changed lines
  Added in v.1.5.4.1


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