[ECOS] cyg_semaphore_destroy, cyg_mutex_destroy, etc...

Fabrice Gautier Fabrice_Gautier@sdesigns.com
Thu Aug 17 20:31:00 GMT 2000


Hi,

Since the memory for semaphore or mutexes must be allocated before the call
to the *_create functions, I'm wondering what the *_destroy functions
actually do?

I have the same question for other structures like Counters, Clokcs etc...

In the documentation it is said about cyg_counter_delete and
cyg_clock_delete that they free the memory used by the structure. ABout
cyg_alarm_delete it is ais that it frees the meory IF it was dinamycally
allocated. Since there is not yet support for the dynamic allocation in the
creates functions, I think that the "free  memory" feature is not already
implemented, right?

Thanks

A+
-- 
Fabrice Gautier
fabrice_gautier@sdesigns.com 



More information about the Ecos-discuss mailing list