frsh_signal_t signal_received;
frsh_signal_info_t info_programmed, info_received;
-
+ struct timespec work_interval = {3, 200000000}; // 3.2 seconds
fosa_clock_id_t clockid;
fosa_timer_id_t timerid;
/* We execute a little bit to ensure that execution time */
/* and real time differ */
/*********************************************************/
-
+ printf("Main works for some time...\n");
+ frsh_eat(&work_interval);
/* Now we do the wait in order to allow the thread to run */
/**********************************************************/
printf("Elapsed time: %d %d\n", after_work_time.tv_sec,
after_work_time.tv_nsec);
} // while
+ return NULL;
}