This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Cyg_Alarm
Matthieu.GIRARDIN@fr.thalesgroup.com writes:
> Hi,
>
> Is it possible to destroy an alarm ( cyg_alarm_destroy(handle) ) in the
> fonction executed by its fonction ?
>
> In fact, I try to free the alarm automaticaly when the tempo has finished.
> So I free and re-initialize my structure at the end of its code (which
> happens once because it's a tempo not an clock).
>
> Is it not a problem or a snake which is eating its queue ...
>
This ought to work. Let me know if it does not.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss