X-Git-Url: http://rtime.felk.cvut.cz/gitweb/rtems-pluggable-edf.git/blobdiff_plain/e9a60ef11ae3b01f4e927b6005bd59cea462c329..9bf2ea361617b1c5f02863895d7b6da7c28091c2:/rtems-omk-template/appfoo/task_1.c diff --git a/rtems-omk-template/appfoo/task_1.c b/rtems-omk-template/appfoo/task_1.c index ffd6fa2..ea67f7f 100644 --- a/rtems-omk-template/appfoo/task_1.c +++ b/rtems-omk-template/appfoo/task_1.c @@ -13,11 +13,14 @@ rtems_task Task_1( rtems_task_argument argument ) { + int i, s; rtems_status_code status; printf("*** Starting up Task_1 ***\n"); while(1){ printf("Task_1 woken\n"); + for (i = 0; i < 10000; i++) + s = i+i; status = rtems_task_wake_after( TICKS_PER_SECOND ); check_rtems_status( status, 0, "rtems_task_wake_after" ); }