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]

cyg_semaphore_destroy, cyg_mutex_destroy, etc...


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 


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