setitimer, getitimer() in rtems?

Joel Sherrill joel.sherrill at OARcorp.com
Fri Sep 5 13:59:06 UTC 2008


Gene Smith wrote:
> Porting in some code that runs on linux, my last undefined link items
> are setitimer and getitimer. I can't seem to find them in rtems (4.8.0)
> except in the sys/time.h include file so it compiles. Saw some reference
> to them in old mailing list threads that implied (or said?) that you
> have to implement them using rtems native timer calls. Is this right?
>
>   
Since they use POSIX signals, you would implement them
in the POSIX API (cpukit/posix) and implement them in terms
of SuperCore timers.

Why do you need these? And which of the three types
(ITIMER_REAL, ITIMER_VIRTUAL, or ITIMER_PROF) do
you want/need?
> Thanks,
> -gene
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>   


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985





More information about the users mailing list