This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

periodic threads with kapi?


Hi,

Is there a clean way to do periodic threads with absolute timing, as opposed
to the relative timing you get with cyg_thread_delay()?

I'm looking at the kernel API shown in the Massa book, and it looks like
alarms could be used to generate periodic DSR's, which I can then use to
wake up threads. I guess that would work, but is there a better way to do
it? It seems that function something like cyg_thread_delay_until() would be
needed.

I do know how to do periodic threads with the posix API, so I could use the
posix compat layer I guess, but I would like to do it with just the kernel
API.

Thanks,
-- 
Ryan Boder
http://www.bitwiser.org/icanoop

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]