This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Using 1 counter for 2 alarms
Hi Elad
Elad Yosef wrote:
> is there a problem that 2 separate alarms will use the same counter source?
This is conceptually similar to the case of attaching attaching multiple
alarms to the system clock. There should be no problem.
> which one will called first when the counter ticks?
The documentation states:
"If two or more alarms are registered for precisely the same counter
tick, the order of execution of the alarm functions is unspecified."
John Dallaway
eCos maintainer
http://www.dallaway.org.uk/john
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss