[ECOS] Cyg_Alarm

Nick Garnett nickg@ecoscentric.com
Thu Jul 3 14:32:00 GMT 2003


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



More information about the Ecos-discuss mailing list