This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
cyg_semaphore_destroy, cyg_mutex_destroy, etc...
- To: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] cyg_semaphore_destroy, cyg_mutex_destroy, etc...
- From: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Date: Thu, 17 Aug 2000 20:30:25 -0700
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