Well, it depends how you implement the semaphores. If you don't allocate
memory for semphores and their associated data (e.g. you allocate
everything statically), then obviously you don't need to free, but
rather reset the sempahore, or mark the sempahore as 'not in use'.
Iulian
Post by zheWhen we destroy the semaphore, do we have to delete its name, value and ID?
Thanks
Zhe